class SimpleAudioDecoder

Simple Audio Decoder. More...

Full nameCoral::SimpleAudioDecoder
Definition#include <simpleaudiodecoder.h>
InheritsCoral::AudioDecoderInterface, Coral::Synchronizable
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

This class is an simple audio decoder. It does no error correction or redundant transmission.

 SimpleAudioDecoder (AudioWriterInterface* audioWriter)

Constructor for the audio decoder.

Parameters:
audioWriterAudioReaderInterface for the audio output.

SimpleAudioDecoder ()

Destructor.

const card16  getTypeID ()

[const]

getTypeID() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

const char*  getTypeName ()

[const]

getTypeName implementation of DecoderInterface.

Reimplemented from DecoderInterface.

void  activate ()

activate() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

void  deactivate ()

deactivate() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

void  reset ()

reset() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

void  getTransportInfo (TransportInfo& transportInfo, const cardinal headerSize, const cardinal maxPacketSize, const bool calculateLevels)

[const]

getTransportInfo() implementation of AudioDecoderInterface.

Reimplemented from DecoderInterface.

void  getMediaInfo (MediaInfo& mediaInfo)

[const]

getMediaInfo() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

card8  getErrorCode ()

[const]

getErrorCode() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

card64  getPosition ()

[const]

getPosition() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

card64  getMaxPosition ()

[const]

getMaxPosition() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

bool  checkNextPacket (DecoderPacket* decoderPacket)

checkNextPacket() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

void  handleNextPacket (const DecoderPacket* decoderPacket)

handleNextPacket() implementation of DecoderInterface.

Reimplemented from DecoderInterface.

card16  getSamplingRate ()

[const]

getSamplingRate() Implementation of AudioDecoderInterface.

Reimplemented from AudioQualityInterface.

card8  getBits ()

[const]

getBits() Implementation of AudioDecoderInterface.

Reimplemented from AudioQualityInterface.

card8  getChannels ()

[const]

getChannels() Implementation of AudioDecoderInterface.

Reimplemented from AudioQualityInterface.

card16  getByteOrder ()

[const]

getByteOrder() Implementation of AudioQualityInterface.

Reimplemented from AudioQualityInterface.

cardinal  getBytesPerSecond ()

[const]

getBytesPerSecond() implementation of AudioDecoderInterface.

Reimplemented from AudioQualityInterface.

cardinal  getBitsPerSample ()

[const]

getBitsPerSample() implementation of AudioDecoderInterface.

Reimplemented from AudioQualityInterface.

AudioQuality  getWantedQuality ()

[const]

getWantedQuality() implementation of AudioDecoderInterface.

see AudioDecoderInterface#getWantedQuality

Reimplemented from AudioDecoderInterface.

void  setWantedQuality (const AudioQualityInterface& wantedQuality)

setWantedQuality() implementation of AudioDecoderInterface.

Reimplemented from AudioDecoderInterface.