Go to the documentation of this file.
28 #ifndef ASYNC_SIGC_AUDIO_SOURCE_INCLUDED
29 #define ASYNC_SIGC_AUDIO_SOURCE_INCLUDED
38 #include <sigc++/sigc++.h>
114 class SigCAudioSource :
public AudioSource,
public sigc::trackable
virtual void allSamplesFlushed(void)
The registered sink has flushed all samples.
int sinkWriteSamples(const float *samples, int len)
sigc::signal< void > sigResumeOutput
A signal that is emitted when more samples can be written.
int writeSamples(float *samples, int count)
Write samples into this audio sink.
void sinkFlushSamples(void)
sigc::signal< void > sigAllSamplesFlushed
Signal that is emitted when the connected sink is done flushing.
Namespace for the asynchronous programming classes.
~SigCAudioSource(void)
Destructor.
void flushSamples(void)
Tell the sink to flush the previously written samples.
SigCAudioSource(void)
Default constuctor.
This file contains the base class for an audio source.
virtual void resumeOutput(void)
Resume audio output to the sink.