#include <AudioSink.hxx>
Definition at line 9 of file AudioSink.hxx.
Public Member Functions | |
AudioSink (const ProcessingConfig &conf=Config()) | |
void | SetFrameAndHopSize (const int val) |
~AudioSink () | |
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::AudioSink::AudioSink | ( | const ProcessingConfig & | conf = Config() |
) | [inline] |
Definition at line 18 of file AudioSink.hxx.
References CLAM::Processing::Ready, and CLAM::Processing::SetExecState().
CLAM::AudioSink::~AudioSink | ( | ) | [inline] |
Definition at line 35 of file AudioSink.hxx.
void CLAM::AudioSink::SetFrameAndHopSize | ( | const int | val | ) | [inline] |
Definition at line 29 of file AudioSink.hxx.
References CLAM::InPort< Token >::SetHop(), and CLAM::InPort< Token >::SetSize().
Definition at line 37 of file AudioSink.cxx.
References CLAM::InPort< Token >::SetHop(), and CLAM::InPort< Token >::SetSize().
Referenced by CLAM::FreewheelingNetworkPlayer::Start().
void CLAM::AudioSink::SetExternalBuffer | ( | double * | buf, | |
unsigned | nframes | |||
) |
Definition at line 45 of file AudioSink.cxx.
References CLAM::InPort< Token >::SetHop(), and CLAM::InPort< Token >::SetSize().
bool CLAM::AudioSink::Do | ( | ) | [virtual] |
Supervised mode execution method (using ports).
Implements CLAM::Processing.
Definition at line 24 of file AudioSink.cxx.
References CLAM_DEBUG_ASSERT, CLAM::InPort< Token >::Consume(), and CLAM::AudioInPort::GetAudio().
const char* CLAM::AudioSink::GetClassName | ( | ) | const [inline, virtual] |
Override it in every subclass and retur the name of that class.
Implements CLAM::Processing.
Definition at line 42 of file AudioSink.hxx.