RTP Audio System
2.0.0
|
Audio Decoder Repository. More...
#include <audiodecoderrepository.h>
Audio Decoder Repository.
This class is a repository for audio decoders.
Constructor.
Destructor.
void AudioDecoderRepository::activate | ( | ) | [virtual] |
activate() implementation of DecoderInterface.
Implements DecoderInterface.
bool AudioDecoderRepository::addDecoder | ( | AudioDecoderInterface * | decoder | ) |
Add audio decoder to repository.
decoder | New audio decoder to be added. |
bool AudioDecoderRepository::checkNextPacket | ( | DecoderPacket * | decoderPacket | ) | [virtual] |
checkNextPacket() implementation of DecoderInterface.
Implements DecoderInterface.
void AudioDecoderRepository::deactivate | ( | ) | [virtual] |
deactivate() implementation of DecoderInterface.
Implements DecoderInterface.
card8 AudioDecoderRepository::getBits | ( | ) | const [virtual] |
getBits() Implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
cardinal AudioDecoderRepository::getBitsPerSample | ( | ) | const [virtual] |
getBitsPerSample() implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
card16 AudioDecoderRepository::getByteOrder | ( | ) | const [virtual] |
getByteOrder() Implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
cardinal AudioDecoderRepository::getBytesPerSecond | ( | ) | const [virtual] |
getBytesPerSecond() implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
card8 AudioDecoderRepository::getChannels | ( | ) | const [virtual] |
getChannels() Implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
Get AudioDecoderInterface of the current decoder.
DecoderInterface * AudioDecoderRepository::getCurrentDecoder | ( | ) | const [virtual] |
getCurrentDecoder() implementation of DecoderRepositoryInterface.
Implements DecoderRepositoryInterface.
card8 AudioDecoderRepository::getErrorCode | ( | ) | const [virtual] |
getErrorCode() implementation of DecoderInterface.
Implements DecoderInterface.
card64 AudioDecoderRepository::getMaxPosition | ( | ) | const [virtual] |
getMaxPosition() implementation of DecoderInterface.
Implements DecoderInterface.
void AudioDecoderRepository::getMediaInfo | ( | MediaInfo & | mediaInfo | ) | const [virtual] |
getMediaInfo() implementation of DecoderInterface.
Implements DecoderInterface.
card64 AudioDecoderRepository::getPosition | ( | ) | const [virtual] |
getPosition() implementation of DecoderInterface.
Implements DecoderInterface.
card16 AudioDecoderRepository::getSamplingRate | ( | ) | const [virtual] |
getSamplingRate() Implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
const card16 AudioDecoderRepository::getTypeID | ( | ) | const [virtual] |
getTypeID() implementation of DecoderInterface.
Implements DecoderInterface.
const char * AudioDecoderRepository::getTypeName | ( | ) | const [virtual] |
getTypeName implementation of DecoderInterface.
Implements DecoderInterface.
AudioQuality AudioDecoderRepository::getWantedQuality | ( | ) | const [virtual] |
getWantedQuality() implementation of AudioDecoderInterface.
see AudioDecoderInterface::getWantedQuality
Implements AudioDecoderInterface.
void AudioDecoderRepository::handleNextPacket | ( | const DecoderPacket * | decoderPacket | ) | [virtual] |
handleNextPacket() implementation of DecoderInterface.
Implements DecoderInterface.
void AudioDecoderRepository::removeDecoder | ( | AudioDecoderInterface * | decoder | ) |
Remove audio decoder from repository.
decoder | Audio decoder to be removed. |
void AudioDecoderRepository::reset | ( | ) | [virtual] |
reset() implementation of DecoderInterface.
Implements DecoderInterface.
bool AudioDecoderRepository::selectDecoderForTypeID | ( | const card16 | typeID | ) | [virtual] |
selectDecoderForTypeID() implementation of DecoderRepositoryInterface.
Implements DecoderRepositoryInterface.
void AudioDecoderRepository::setAutoDelete | ( | const bool | on | ) | [inline] |
Set AutoDelete mode. If true, all decoders will be deleted with delete operator by the destructor.
void AudioDecoderRepository::setWantedQuality | ( | const AudioQualityInterface & | wantedQuality | ) | [virtual] |
setWantedQuality() implementation of AudioDecoderInterface.
Implements AudioDecoderInterface.
bool AudioDecoderRepository::AutoDelete [private] |
std::multimap<const card16,AudioDecoderInterface*> AudioDecoderRepository::Repository [private] |