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