CLAM::AudioSink Class Reference

#include <AudioSink.hxx>

Inheritance diagram for CLAM::AudioSink:

CLAM::Processing

List of all members.


Detailed Description

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.

Constructor & Destructor Documentation

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.


Member Function Documentation

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

Deprecated:
Delegated to SetExternalBuffer

Definition at line 29 of file AudioSink.hxx.

References CLAM::InPort< Token >::SetHop(), and CLAM::InPort< Token >::SetSize().

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

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

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

Supervised mode execution method (using ports).

Returns:
A boolean telling whether it has been output

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.


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