|
|
This class is a repository for audio decoders.
AudioDecoderRepository () |
Constructor.
~AudioDecoderRepository () |
Destructor.
bool addDecoder (AudioDecoderInterface* decoder) |
Add audio decoder to repository.
Parameters:
decoder | New 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:
decoder | Audio 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 () |
getCurrentDecoder() implementation of DecoderRepositoryInterface.
See also: DecoderRepositoryInterface#getCurrentDecoder
Reimplemented from DecoderRepositoryInterface
AudioDecoderInterface* getCurrentAudioDecoder () |
Get AudioDecoderInterface of the current decoder.
Returns: Current decoder's AudioDecoderInterface.
const card16 getTypeID () |
getTypeID() implementation of DecoderInterface.
See also: DecoderInterface#getTypeID
Reimplemented from DecoderInterface
const char* getTypeName () |
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) |
getTransportInfo() implementation of DecoderInterface.
See also: DecoderInterface#getTransportInfo
Reimplemented from DecoderInterface
void getMediaInfo (MediaInfo& mediaInfo) |
getMediaInfo() implementation of DecoderInterface.
See also: DecoderInterface#getMediaInfo
Reimplemented from DecoderInterface
card8 getErrorCode () |
getErrorCode() implementation of DecoderInterface.
See also: DecoderInterface#getErrorCode
Reimplemented from DecoderInterface
card64 getPosition () |
getPosition() implementation of DecoderInterface.
See also: DecoderInterface#getPosition
Reimplemented from DecoderInterface
card64 getMaxPosition () |
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 () |
getChannels() Implementation of AudioDecoderInterface.
See also: AudioDecoderInterface#getChannels
Reimplemented from AudioQualityInterface
card8 getBits () |
getBits() Implementation of AudioDecoderInterface.
See also: AudioDecoderInterface#getBits
Reimplemented from AudioQualityInterface
card16 getSamplingRate () |
getSamplingRate() Implementation of AudioDecoderInterface.
See also: AudioDecoderInterface#getSamplingRate
Reimplemented from AudioQualityInterface
card16 getByteOrder () |
getByteOrder() Implementation of AudioDecoderInterface.
See also: AudioDecoderInterface#getByteOrder
Reimplemented from AudioQualityInterface
cardinal getBytesPerSecond () |
getBytesPerSecond() implementation of AudioDecoderInterface.
See also: AudioDecoderInterface#getBytesPerSecond
Reimplemented from AudioQualityInterface
cardinal getBitsPerSample () |
getBitsPerSample() implementation of AudioDecoderInterface.
See also: AudioDecoderInterface#getBitsPerSample
Reimplemented from AudioQualityInterface
AudioQuality getWantedQuality () |
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