Go to the documentation of this file.
28 #ifndef AUDIO_PASSTHROUGH_INCLUDED
29 #define AUDIO_PASSTHROUGH_INCLUDED
117 class AudioPassthrough :
public AudioSink,
public AudioSource
141 virtual int writeSamples(
const float *samples,
int count)
virtual int writeSamples(const float *samples, int count)
Write samples into this audio sink.
int sinkWriteSamples(const float *samples, int len)
virtual void flushSamples(void)
Tell the sink to flush the previously written samples.
This class just let the audio pass through.
void sinkFlushSamples(void)
virtual ~AudioPassthrough(void)
Destructor.
AudioPassthrough(void)
Default constuctor.
Namespace for the asynchronous programming classes.
This file contains the base class for an audio sink.
virtual void resumeOutput(void)
Resume audio output to the sink.
This file contains the base class for an audio source.
virtual void allSamplesFlushed(void)
The registered sink has flushed all samples.
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.