28 #ifndef AUDIO_PASSTHROUGH_INCLUDED 29 #define AUDIO_PASSTHROUGH_INCLUDED virtual void resumeOutput(void)
Resume audio output to the sink.
virtual ~AudioPassthrough(void)
Destructor.
virtual int writeSamples(const float *samples, int count)
Write samples into this audio sink.
virtual void allSamplesFlushed(void)
The registered sink has flushed all samples.
void sinkFlushSamples(void)
AudioPassthrough(void)
Default constuctor.
This file contains the base class for an audio source.
This file contains the base class for an audio sink.
This class just let the audio pass through.
int sinkWriteSamples(const float *samples, int len)
The base class for an audio sink.
Namespace for the asynchronous programming classes.
void sourceResumeOutput(void)
Tell the source that we are ready to accept more samples.
virtual void flushSamples(void)
Tell the sink to flush the previously written samples.
void sourceAllSamplesFlushed(void)
Tell the source that all samples have been flushed.
The base class for an audio source.