|
RTP Audio System
2.0.0
|
Audio Encoder Repository. More...
#include <audioencoderrepository.h>
Audio Encoder Repository.
This class is a repository for audio encoders.
Constructor.
Destructor.
| void AudioEncoderRepository::activate | ( | ) | [virtual] |
activate() implementation of EncoderInterface.
Implements EncoderInterface.
| bool AudioEncoderRepository::addEncoder | ( | AudioEncoderInterface * | encoder | ) |
Add audio encoder to repository.
| encoder | New audio encoder to be added. |
| bool AudioEncoderRepository::checkInterval | ( | card64 & | time, |
| bool & | newRUList | ||
| ) | [virtual] |
checkInterval() implementation of EncoderInterface.
Implements EncoderInterface.
| void AudioEncoderRepository::deactivate | ( | ) | [virtual] |
deactivate() implementation of EncoderInterface.
Implements EncoderInterface.
| card8 AudioEncoderRepository::getBits | ( | ) | const [virtual] |
getBits() implementation of AudioEncoderInterface
Implements AudioQualityInterface.
| cardinal AudioEncoderRepository::getBitsPerSample | ( | ) | const [virtual] |
getBitsPerSample() implementation of AudioEncoderInterface.
Implements AudioQualityInterface.
| card16 AudioEncoderRepository::getByteOrder | ( | ) | const [virtual] |
getByteOrder() Implementation of AudioEncoderInterface.
Implements AudioQualityInterface.
| cardinal AudioEncoderRepository::getBytesPerSecond | ( | ) | const [virtual] |
getBytesPerSecond() implementation of AudioEncoderInterface.
Implements AudioQualityInterface.
| card8 AudioEncoderRepository::getChannels | ( | ) | const [virtual] |
getChannels() implementation of AudioEncoderInterface
Implements AudioQualityInterface.
Get AudioEncoderInterface of the current encoder.
| EncoderInterface * AudioEncoderRepository::getCurrentEncoder | ( | ) | const [virtual] |
getCurrentEncoder() implementation of EncoderRepositoryInterface.
Implements EncoderRepositoryInterface.
| double AudioEncoderRepository::getFrameRate | ( | ) | const [virtual] |
getFrameRate() implementation of EncoderInterface.
Implements EncoderInterface.
| cardinal AudioEncoderRepository::getNextPacket | ( | EncoderPacket * | encoderPacket | ) | [virtual] |
getNextPacket() implementation of EncoderInterface.
Implements EncoderInterface.
| AbstractQoSDescription * AudioEncoderRepository::getQoSDescription | ( | const cardinal | pktHeaderSize, |
| const cardinal | pktMaxSize, | ||
| const card64 | offset | ||
| ) | [virtual] |
getQoSDescription() implementation of EncoderInterface.
Implements EncoderInterface.
| card16 AudioEncoderRepository::getSamplingRate | ( | ) | const [virtual] |
getSamplingRate() implementation of AudioEncoderInterface
Implements AudioQualityInterface.
| const card16 AudioEncoderRepository::getTypeID | ( | ) | const [virtual] |
getTypeID() implementation of EncoderInterface.
Implements EncoderInterface.
| const char * AudioEncoderRepository::getTypeName | ( | ) | const [virtual] |
getTypeName implementation of EncoderInterface.
Implements EncoderInterface.
| bool AudioEncoderRepository::prepareNextFrame | ( | const cardinal | headerSize, |
| const cardinal | maxPacketSize, | ||
| const cardinal | flags | ||
| ) | [virtual] |
prepareNextFrame() implementation of EncoderInterface.
Implements EncoderInterface.
| void AudioEncoderRepository::removeEncoder | ( | AudioEncoderInterface * | encoder | ) |
Remove audio encoder from repository.
| encoder | Audio encoder to be removed. |
| void AudioEncoderRepository::reset | ( | ) | [virtual] |
reset() implementation of EncoderInterface.
Implements EncoderInterface.
| bool AudioEncoderRepository::selectEncoderForTypeID | ( | const card16 | typeID | ) | [virtual] |
selectEncoderForTypeID() implementation of EncoderRepositoryInterface.
Implements EncoderRepositoryInterface.
| void AudioEncoderRepository::setAutoDelete | ( | const bool | on | ) | [inline] |
Set AutoDelete mode. If true, all encoders will be deleted with delete operator by the destructor.
| card8 AudioEncoderRepository::setBits | ( | const card8 | bits | ) | [virtual] |
setBits() implementation of AudioEncoderInterface
Implements AdjustableAudioQualityInterface.
| card16 AudioEncoderRepository::setByteOrder | ( | const card16 | byteOrder | ) | [virtual] |
setByteOrder() Implementation of AudioEncoderInterface.
Implements AdjustableAudioQualityInterface.
| card8 AudioEncoderRepository::setChannels | ( | const card8 | channels | ) | [virtual] |
setChannels() implementation of AudioEncoderInterface
Implements AdjustableAudioQualityInterface.
| card16 AudioEncoderRepository::setSamplingRate | ( | const card16 | rate | ) | [virtual] |
setSamplingRate() implementation of AudioEncoderInterface
Implements AdjustableAudioQualityInterface.
| void AudioEncoderRepository::updateQuality | ( | const AbstractQoSDescription * | aqd | ) | [virtual] |
updateQuality() implementation of EncoderInterface.
Implements EncoderInterface.
bool AudioEncoderRepository::AutoDelete [private] |
std::multimap<const card16,AudioEncoderInterface*> AudioEncoderRepository::Repository [private] |