RTP Audio System
2.0.0
|
Advanced Audio Decoder. More...
#include <advancedaudiodecoder.h>
Advanced Audio Decoder.
This class is an advanced audio decoder. It does error correction by using nearly redundant data of left and right channel to "reconstruct" the full data.
AdvancedAudioDecoder::AdvancedAudioDecoder | ( | AudioWriterInterface * | audioWriter | ) |
Constructor for the audio decoder.
audioWriter | AudioReaderInterface for the audio output. |
Destructor.
void AdvancedAudioDecoder::activate | ( | ) | [virtual] |
activate() implementation of DecoderInterface.
Implements DecoderInterface.
card64 AdvancedAudioDecoder::checkFragmentSeqNum | ( | std::multimap< const card16, FrameFragment * > * | set, |
const card64 | last | ||
) | const [private] |
bool AdvancedAudioDecoder::checkNextPacket | ( | DecoderPacket * | decoderPacket | ) | [virtual] |
checkNextPacket() implementation of DecoderInterface.
Implements DecoderInterface.
void AdvancedAudioDecoder::deactivate | ( | ) | [virtual] |
deactivate() implementation of DecoderInterface.
Implements DecoderInterface.
void AdvancedAudioDecoder::deleteFragments | ( | std::multimap< const card16, FrameFragment * > * | set | ) | [private] |
card8 AdvancedAudioDecoder::getBits | ( | ) | const [virtual] |
getBits() Implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
cardinal AdvancedAudioDecoder::getBitsPerSample | ( | ) | const [virtual] |
getBitsPerSample() Implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
card16 AdvancedAudioDecoder::getByteOrder | ( | ) | const [virtual] |
getByteOrder() Implementation of AudioQualityInterface.
Implements AudioQualityInterface.
cardinal AdvancedAudioDecoder::getBytesPerSecond | ( | ) | const [virtual] |
getBytesPerSecond() Implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
card8 AdvancedAudioDecoder::getChannels | ( | ) | const [virtual] |
getChannels() Implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
card8 AdvancedAudioDecoder::getErrorCode | ( | ) | const [virtual] |
getErrorCode() implementation of DecoderInterface.
Implements DecoderInterface.
AdvancedAudioDecoder::FrameFragment * AdvancedAudioDecoder::getFragment | ( | std::multimap< const card16, FrameFragment * > * | set, |
const card16 | fragmentNumber | ||
) | [private] |
card64 AdvancedAudioDecoder::getMaxPosition | ( | ) | const [virtual] |
getMaxPosition() implementation of DecoderInterface.
Implements DecoderInterface.
void AdvancedAudioDecoder::getMediaInfo | ( | MediaInfo & | mediaInfo | ) | const [virtual] |
getMediaInfo() implementation of DecoderInterface.
Implements DecoderInterface.
card64 AdvancedAudioDecoder::getPosition | ( | ) | const [virtual] |
getPosition() implementation of DecoderInterface.
Implements DecoderInterface.
card16 AdvancedAudioDecoder::getSamplingRate | ( | ) | const [virtual] |
getSamplingRate() Implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
const card16 AdvancedAudioDecoder::getTypeID | ( | ) | const [virtual] |
getTypeID() implementation of DecoderInterface.
Implements DecoderInterface.
const char * AdvancedAudioDecoder::getTypeName | ( | ) | const [virtual] |
getTypeName implementation of DecoderInterface.
Implements DecoderInterface.
AudioQuality AdvancedAudioDecoder::getWantedQuality | ( | ) | const [virtual] |
getWantedQuality() implementation of AudioDecoderInterface.
see AudioDecoderInterface::getWantedQuality
Implements AudioDecoderInterface.
void AdvancedAudioDecoder::handleNextPacket | ( | const DecoderPacket * | decoderPacket | ) | [virtual] |
handleNextPacket() implementation of DecoderInterface.
Implements DecoderInterface.
void AdvancedAudioDecoder::reset | ( | ) | [virtual] |
reset() implementation of DecoderInterface.
Implements DecoderInterface.
void AdvancedAudioDecoder::setWantedQuality | ( | const AudioQualityInterface & | wantedQuality | ) | [virtual] |
setWantedQuality() implementation of AudioDecoderInterface.
Implements AudioDecoderInterface.
void AdvancedAudioDecoder::timerEvent | ( | ) | [private, virtual] |
The virtual timerEvent() method, which contains the timed thread's implementation. It has to be implemented by classes, which inherit TimedThread. This method is called regularly with the given interval.
Implements TimedThread.
card8 AdvancedAudioDecoder::AudioBits [private] |
card8 AdvancedAudioDecoder::AudioChannels [private] |
const card64 AdvancedAudioDecoder::BufferCleanUpDifference [static, private] |
AudioWriterInterface* AdvancedAudioDecoder::Device [private] |
card8 AdvancedAudioDecoder::ErrorCode [private] |
const cardinal AdvancedAudioDecoder::FrameBufferSize [static, private] |
2 * ((AdvancedAudioPacket::AdvancedAudioFramesPerSecond / (16000 / AdvancedAudioPacket::AdvancedAudioMaxTransferDelay)) + 1)
std::multiset<FrameNodeItem> AdvancedAudioDecoder::FrameSet [private] |
card64 AdvancedAudioDecoder::MaxPosition [private] |
MediaInfo AdvancedAudioDecoder::Media [private] |
card64 AdvancedAudioDecoder::Position [private] |
SeqNumValidator AdvancedAudioDecoder::SeqNumber[AdvancedAudioPacket::AdvancedAudioMaxQualityLayers] [private] |