Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

syn::AudioIStream Class Reference

#include <AudioIStream.h>

Inheritance diagram for syn::AudioIStream:

Inheritance graph
[legend]
List of all members.

Public Types

enum  Operation { COPY, MUL, ADD, SUB }

Public Methods

virtual ~AudioIStream ()
virtual bool open (const syn::AudioFormat &fmt, Operation op=COPY)=0
virtual void read (void *data, unsigned int samples)=0
virtual bool close ()=0
virtual bool isOpen () const=0
virtual void seek (int sampleNum)
virtual bool eof () const
virtual bool good () const
virtual bool bad () const
virtual const AudioFormatformat () const=0
virtual int gcount () const=0

Protected Attributes

Operation mState

Member Enumeration Documentation

enum syn::AudioIStream::Operation
 

Enumeration values:
COPY  
MUL  
ADD  
SUB  

Definition at line 43 of file AudioIStream.h.


Constructor & Destructor Documentation

syn::AudioIStream::~AudioIStream ( ) [inline, virtual]
 

Definition at line 41 of file AudioIStream.h.


Member Function Documentation

bool syn::AudioIStream::open ( const syn::AudioFormat & fmt,
Operation op = COPY ) [pure virtual]
 

Reimplemented in syn::OscIStream, syn::SampleBufferIStream, and syn::WavAudioIStream.

void syn::AudioIStream::read ( void * data,
unsigned int samples ) [pure virtual]
 

Reimplemented in syn::OscIStream, syn::SampleBufferIStream, and syn::WavAudioIStream.

bool syn::AudioIStream::close ( ) [pure virtual]
 

Reimplemented in syn::OscIStream, syn::SampleBufferIStream, and syn::WavAudioIStream.

bool syn::AudioIStream::isOpen ( ) const [pure virtual]
 

Reimplemented in syn::OscIStream, syn::SampleBufferIStream, and syn::WavAudioIStream.

void syn::AudioIStream::seek ( int sampleNum ) [inline, virtual]
 

Reimplemented in syn::WavAudioIStream.

Definition at line 60 of file AudioIStream.h.

bool syn::AudioIStream::eof ( ) const [inline, virtual]
 

Reimplemented in syn::OscIStream, syn::SampleBufferIStream, and syn::WavAudioIStream.

Definition at line 61 of file AudioIStream.h.

bool syn::AudioIStream::good ( ) const [inline, virtual]
 

Reimplemented in syn::OscIStream, syn::SampleBufferIStream, and syn::WavAudioIStream.

Definition at line 62 of file AudioIStream.h.

bool syn::AudioIStream::bad ( ) const [inline, virtual]
 

Reimplemented in syn::OscIStream, syn::SampleBufferIStream, and syn::WavAudioIStream.

Definition at line 63 of file AudioIStream.h.

const AudioFormat & syn::AudioIStream::format ( ) const [pure virtual]
 

Reimplemented in syn::OscIStream, syn::SampleBufferIStream, and syn::WavAudioIStream.

int syn::AudioIStream::gcount ( ) const [pure virtual]
 

Reimplemented in syn::OscIStream, syn::SampleBufferIStream, and syn::WavAudioIStream.


Member Data Documentation

Operation syn::AudioIStream::mState [protected]
 

Definition at line 72 of file AudioIStream.h.


The documentation for this class was generated from the following file:
Generated at Mon Apr 15 09:27:53 2002 for subsynth by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001