class AudioDecoderRepository

Audio Decoder Repository. More...

Full nameCoral::AudioDecoderRepository
Definition#include <audiodecoderrepository.h>
InheritsCoral::AudioDecoderInterface [virtual public], Coral::DecoderRepositoryInterface [virtual public]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

This class is a repository for audio decoders.

 AudioDecoderRepository ()

Constructor.

AudioDecoderRepository ()

Destructor.

bool  addDecoder (AudioDecoderInterface* decoder)

Add audio decoder to repository.

Parameters:
decoderNew audio decoder to be added.

Returns: true, if decoder has been added; false, if not.

void  removeDecoder (AudioDecoderInterface* decoder)

Remove audio decoder from repository.

Parameters:
decoderAudio decoder to be removed.

bool  selectDecoderForTypeID (const card16 typeID)

selectDecoderForTypeID() implementation of DecoderRepositoryInterface.

Reimplemented from DecoderRepositoryInterface.

inline void  setAutoDelete (const bool on)

Set AutoDelete mode. If true, all decoders will be deleted with delete operator by the destructor.

DecoderInterface*  getCurrentDecoder ()

[const]

getCurrentDecoder() implementation of DecoderRepositoryInterface.

Reimplemented from DecoderRepositoryInterface.

AudioDecoderInterface*  getCurrentAudioDecoder ()

[const]

Get AudioDecoderInterface of the current decoder.

Returns: Current decoder's AudioDecoderInterface.

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 DecoderInterface.

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.

card8  getChannels ()

[const]

getChannels() Implementation of AudioDecoderInterface.

Reimplemented from AudioQualityInterface.

card8  getBits ()

[const]

getBits() Implementation of AudioDecoderInterface.

Reimplemented from AudioQualityInterface.

card16  getSamplingRate ()

[const]

getSamplingRate() Implementation of AudioDecoderInterface.

Reimplemented from AudioQualityInterface.

card16  getByteOrder ()

[const]

getByteOrder() Implementation of AudioDecoderInterface.

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.