class MultiAudioWriter

Multi Audio Writer. More...

Full nameCoral::MultiAudioWriter
Definition#include <multiaudiowriter.h>
InheritsCoral::AudioWriterInterface [virtual public], Coral::Synchronizable
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

This class implements AudioWriterInterface for a set of AudioWriterInterfaces. Example: AudioDevice + AudioDebug + SpectrumAnalyzer.

 MultiAudioWriter ()

Constructor.

MultiAudioWriter ()

Destructor.

bool  addWriter (AudioWriterInterface* writer)

Add new AudioWriterInferface to writer set.

Parameters:
writerAudioWriterInterface object.

Returns: true, if writer has been added; false otherwise.

void  removeWriter (AudioWriterInterface* writer)

Remove AudioWriterInterface object from writer set.

card16  getSamplingRate ()

[const]

getSamplingRate() Implementation of AudioQualityInterface.

Reimplemented from AudioQualityInterface.

card8  getBits ()

[const]

getBits() Implementation of AudioQualityInterface.

Reimplemented from AudioQualityInterface.

card8  getChannels ()

[const]

getChannels() Implementation of AudioQualityInterface.

Reimplemented from AudioQualityInterface.

card16  getByteOrder ()

[const]

getByteOrder() Implementation of AudioQualityInterface.

Reimplemented from AudioQualityInterface.

card16  setSamplingRate (const card16 samplingRate)

setSamplingRate() Implementation of AudioQualityInterface.

Reimplemented from AdjustableAudioQualityInterface.

card8  setBits (const card8 bits)

setBits() Implementation of AudioQualityInterface.

Reimplemented from AdjustableAudioQualityInterface.

card8  setChannels (const card8 channels)

setChannels() Implementation of AudioQualityInterface.

Reimplemented from AdjustableAudioQualityInterface.

card16  setByteOrder (const card16 byteOrder)

setByteOrder() Implementation of AudioQualityInterface.

Reimplemented from AdjustableAudioQualityInterface.

cardinal  getBytesPerSecond ()

[const]

getBytesPerSecond() Implementation of AudioQualityInterface.

Reimplemented from AudioQualityInterface.

cardinal  getBitsPerSample ()

[const]

getBitsPerSample() Implementation of AudioQualityInterface.

Reimplemented from AudioQualityInterface.

bool  ready ()

[const]

ready() implementation of AudioWriterInterface

Reimplemented from AudioWriterInterface.

void  sync ()

sync() implementation of AudioWriterInterface

Reimplemented from AudioWriterInterface.

bool  write (const void* data, const size_t length)

write() implementation of AudioWriterInterface

Reimplemented from AudioWriterInterface.