class AudioDecoderRepository

Audio Decoder Repository. More...

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

Public Members


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.

See also: DecoderRepositoryInterface#selectDecoderForTypeID

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.

See also: DecoderRepositoryInterface#getCurrentDecoder

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.

See also: DecoderInterface#getTypeID

Reimplemented from DecoderInterface

const char* getTypeName ()
[const]

getTypeName implementation of DecoderInterface.

See also: DecoderInterface#getTypeName

Reimplemented from DecoderInterface

void activate ()

activate() implementation of DecoderInterface.

See also: DecoderInterface#activate

Reimplemented from DecoderInterface

void deactivate ()

deactivate() implementation of DecoderInterface.

See also: DecoderInterface#deactivate

Reimplemented from DecoderInterface

void reset ()

reset() implementation of DecoderInterface.

See also: DecoderInterface#reset

Reimplemented from DecoderInterface

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

getTransportInfo() implementation of DecoderInterface.

See also: DecoderInterface#getTransportInfo

Reimplemented from DecoderInterface

void getMediaInfo (MediaInfo& mediaInfo)
[const]

getMediaInfo() implementation of DecoderInterface.

See also: DecoderInterface#getMediaInfo

Reimplemented from DecoderInterface

card8 getErrorCode ()
[const]

getErrorCode() implementation of DecoderInterface.

See also: DecoderInterface#getErrorCode

Reimplemented from DecoderInterface

card64 getPosition ()
[const]

getPosition() implementation of DecoderInterface.

See also: DecoderInterface#getPosition

Reimplemented from DecoderInterface

card64 getMaxPosition ()
[const]

getMaxPosition() implementation of DecoderInterface.

See also: DecoderInterface#getMaxPosition

Reimplemented from DecoderInterface

bool checkNextPacket (DecoderPacket* decoderPacket)

checkNextPacket() implementation of DecoderInterface.

See also: DecoderInterface#checkNextPacket

Reimplemented from DecoderInterface

void handleNextPacket (const DecoderPacket* decoderPacket)

handleNextPacket() implementation of DecoderInterface.

See also: DecoderInterface#handleNextPacket

Reimplemented from DecoderInterface

card8 getChannels ()
[const]

getChannels() Implementation of AudioDecoderInterface.

See also: AudioDecoderInterface#getChannels

Reimplemented from AudioQualityInterface

card8 getBits ()
[const]

getBits() Implementation of AudioDecoderInterface.

See also: AudioDecoderInterface#getBits

Reimplemented from AudioQualityInterface

card16 getSamplingRate ()
[const]

getSamplingRate() Implementation of AudioDecoderInterface.

See also: AudioDecoderInterface#getSamplingRate

Reimplemented from AudioQualityInterface

card16 getByteOrder ()
[const]

getByteOrder() Implementation of AudioDecoderInterface.

See also: AudioDecoderInterface#getByteOrder

Reimplemented from AudioQualityInterface

cardinal getBytesPerSecond ()
[const]

getBytesPerSecond() implementation of AudioDecoderInterface.

See also: AudioDecoderInterface#getBytesPerSecond

Reimplemented from AudioQualityInterface

cardinal getBitsPerSample ()
[const]

getBitsPerSample() implementation of AudioDecoderInterface.

See also: AudioDecoderInterface#getBitsPerSample

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.

See also: AudioDecoderInterface#setWantedQuality

Reimplemented from AudioDecoderInterface