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