Async  0.18.0
Public Member Functions | Protected Member Functions | Friends
Async::AudioMixer Class Reference

A class for mixing audio streams. More...

#include <AsyncAudioMixer.h>

Inheritance diagram for Async::AudioMixer:
Async::AudioSource

List of all members.

Public Member Functions

Protected Member Functions

Friends


Detailed Description

A class for mixing audio streams.

Author:
Tobias Blomberg / SM0SVX
Date:
2007-10-05

This class is used to mix audio streams together.


Constructor & Destructor Documentation

Async::AudioMixer::AudioMixer ( void  )

Default constuctor.

Async::AudioMixer::~AudioMixer ( void  )

Destructor.


Member Function Documentation

void Async::AudioMixer::addSource ( AudioSource source)

Add an audio source to the mixer.

Parameters:
sourceThe 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.


Friends And Related Function Documentation

friend class MixerSrc [friend]

Definition at line 175 of file AsyncAudioMixer.h.


The documentation for this class was generated from the following file: