28 #ifndef ASYNC_SIGC_AUDIO_SINK_INCLUDED 29 #define ASYNC_SIGC_AUDIO_SINK_INCLUDED 38 #include <sigc++/sigc++.h> void resumeOutput(void)
Tell the source that we are ready to accept more samples.
SigCAudioSink(void)
Default constuctor.
This file contains the base class for an audio sink.
sigc::signal< int, float *, int > sigWriteSamples
Signal that is emitted when the source write samples.
sigc::signal< void > sigFlushSamples
Signal emitted when the source are finished writing samples.
The base class for an audio sink.
Namespace for the asynchronous programming classes.
virtual int writeSamples(const float *samples, int count)
Write samples into this audio sink.
void sourceResumeOutput(void)
Tell the source that we are ready to accept more samples.
void sourceAllSamplesFlushed(void)
Tell the source that all samples have been flushed.
virtual void flushSamples(void)
Tell the sink to flush the previously written samples.
An adapter class to connect to an AudioSource class using SigC.
~SigCAudioSink(void)
Destructor.
void allSamplesFlushed(void)
Tell the source that all samples have been flushed.