#include <AudioSource.hxx>
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. |
CLAM::AudioSource::AudioSource | ( | const ProcessingConfig & | conf = Config() |
) | [inline] |
Definition at line 17 of file AudioSource.hxx.
References CLAM::Processing::Ready, and CLAM::Processing::SetExecState().
void CLAM::AudioSource::SetFrameAndHopSize | ( | const int | val | ) | [inline] |
Definition at line 27 of file AudioSource.hxx.
References CLAM::OutPort< Token >::SetHop(), and CLAM::OutPort< Token >::SetSize().
Definition at line 33 of file AudioSource.cxx.
References CLAM::OutPort< Token >::SetHop(), and CLAM::OutPort< Token >::SetSize().
void CLAM::AudioSource::SetExternalBuffer | ( | double * | buf, | |
unsigned | nframes | |||
) |
Definition at line 41 of file AudioSource.cxx.
References CLAM::OutPort< Token >::SetHop(), and CLAM::OutPort< Token >::SetSize().
bool CLAM::AudioSource::Do | ( | ) | [virtual] |
Supervised mode execution method (using ports).
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.