CLAM::AudioSource Class Reference

#include <AudioSource.hxx>

Inheritance diagram for CLAM::AudioSource:

CLAM::Processing

List of all members.


Detailed Description

Definition at line 9 of file AudioSource.hxx.


Public Member Functions

 AudioSource (const ProcessingConfig &conf=Config())
void SetFrameAndHopSize (const int val)
void SetExternalBuffer (float *buf, unsigned nframes)
void SetExternalBuffer (double *buf, unsigned nframes)
bool Do ()
 Supervised mode execution method (using ports).
const char * GetClassName () const
 Override it in every subclass and retur the name of that class.

Constructor & Destructor Documentation

CLAM::AudioSource::AudioSource ( const ProcessingConfig conf = Config()  )  [inline]

Definition at line 17 of file AudioSource.hxx.

References CLAM::Processing::Ready, and CLAM::Processing::SetExecState().


Member Function Documentation

void CLAM::AudioSource::SetFrameAndHopSize ( const int  val  )  [inline]

void CLAM::AudioSource::SetExternalBuffer ( float buf,
unsigned  nframes 
)

void CLAM::AudioSource::SetExternalBuffer ( double *  buf,
unsigned  nframes 
)

bool CLAM::AudioSource::Do (  )  [virtual]

Supervised mode execution method (using ports).

Returns:
A boolean telling whether it has been output

Implements CLAM::Processing.

Definition at line 20 of file AudioSource.cxx.

References CLAM_DEBUG_ASSERT, CLAM::AudioOutPort::GetAudio(), and CLAM::OutPort< Token >::Produce().

const char* CLAM::AudioSource::GetClassName (  )  const [inline, virtual]

Override it in every subclass and retur the name of that class.

Implements CLAM::Processing.

Definition at line 38 of file AudioSource.hxx.


The documentation for this class was generated from the following files:

Generated on Tue Aug 12 22:33:48 2008 for CLAM by  doxygen 1.5.5