A class for mixing audio streams. More...
#include <AsyncAudioMixer.h>
A class for mixing audio streams.
This class is used to mix audio streams together.
Definition at line 114 of file AsyncAudioMixer.h.
Async::AudioMixer::AudioMixer | ( | void | ) |
Default constuctor.
Async::AudioMixer::~AudioMixer | ( | void | ) |
Destructor.
void Async::AudioMixer::addSource | ( | AudioSource * | source | ) |
Add an audio source to the mixer.
source | The audio source to add |
void Async::AudioMixer::allSamplesFlushed | ( | void | ) | [protected, virtual] |
The registered sink has flushed all samples.
This function will be called when all samples have been flushed in the registered sink. This function is normally only called from a connected sink object.
Reimplemented from Async::AudioSource.
void Async::AudioMixer::resumeOutput | ( | void | ) | [virtual] |
Resume audio output to the sink.
This function will be called when the registered audio sink is ready to accept more samples. This function is normally only called from a connected sink object.
Reimplemented from Async::AudioSource.
friend class MixerSrc [friend] |
Definition at line 175 of file AsyncAudioMixer.h.