RTP Audio System
2.0.0
|
Simple Audio Decoder. More...
#include <simpleaudiodecoder.h>
Public Member Functions | |
SimpleAudioDecoder (AudioWriterInterface *audioWriter) | |
~SimpleAudioDecoder () | |
const card16 | getTypeID () const |
const char * | getTypeName () const |
void | activate () |
void | deactivate () |
void | reset () |
void | getMediaInfo (MediaInfo &mediaInfo) const |
card8 | getErrorCode () const |
card64 | getPosition () const |
card64 | getMaxPosition () const |
bool | checkNextPacket (DecoderPacket *decoderPacket) |
void | handleNextPacket (const DecoderPacket *decoderPacket) |
card16 | getSamplingRate () const |
card8 | getBits () const |
card8 | getChannels () const |
card16 | getByteOrder () const |
cardinal | getBytesPerSecond () const |
cardinal | getBitsPerSample () const |
AudioQuality | getWantedQuality () const |
void | setWantedQuality (const AudioQualityInterface &wantedQuality) |
Private Attributes | |
SeqNumValidator | SeqNumber |
AudioWriterInterface * | Device |
card64 | Position |
card64 | MaxPosition |
AudioQuality | WantedQuality |
MediaInfo | Media |
card16 | AudioSamplingRate |
card8 | AudioBits |
card8 | AudioChannels |
card8 | ErrorCode |
Simple Audio Decoder.
This class is an simple audio decoder. It does no error correction or redundant transmission.
SimpleAudioDecoder::SimpleAudioDecoder | ( | AudioWriterInterface * | audioWriter | ) |
Constructor for the audio decoder.
audioWriter | AudioReaderInterface for the audio output. |
Destructor.
void SimpleAudioDecoder::activate | ( | ) | [virtual] |
activate() implementation of DecoderInterface.
Implements DecoderInterface.
bool SimpleAudioDecoder::checkNextPacket | ( | DecoderPacket * | decoderPacket | ) | [virtual] |
checkNextPacket() implementation of DecoderInterface.
Implements DecoderInterface.
void SimpleAudioDecoder::deactivate | ( | ) | [virtual] |
deactivate() implementation of DecoderInterface.
Implements DecoderInterface.
card8 SimpleAudioDecoder::getBits | ( | ) | const [virtual] |
getBits() Implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
cardinal SimpleAudioDecoder::getBitsPerSample | ( | ) | const [virtual] |
getBitsPerSample() implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
card16 SimpleAudioDecoder::getByteOrder | ( | ) | const [virtual] |
getByteOrder() Implementation of AudioQualityInterface.
Implements AudioQualityInterface.
cardinal SimpleAudioDecoder::getBytesPerSecond | ( | ) | const [virtual] |
getBytesPerSecond() implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
card8 SimpleAudioDecoder::getChannels | ( | ) | const [virtual] |
getChannels() Implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
card8 SimpleAudioDecoder::getErrorCode | ( | ) | const [virtual] |
getErrorCode() implementation of DecoderInterface.
Implements DecoderInterface.
card64 SimpleAudioDecoder::getMaxPosition | ( | ) | const [virtual] |
getMaxPosition() implementation of DecoderInterface.
Implements DecoderInterface.
void SimpleAudioDecoder::getMediaInfo | ( | MediaInfo & | mediaInfo | ) | const [virtual] |
getMediaInfo() implementation of DecoderInterface.
Implements DecoderInterface.
card64 SimpleAudioDecoder::getPosition | ( | ) | const [virtual] |
getPosition() implementation of DecoderInterface.
Implements DecoderInterface.
card16 SimpleAudioDecoder::getSamplingRate | ( | ) | const [virtual] |
getSamplingRate() Implementation of AudioDecoderInterface.
Implements AudioQualityInterface.
const card16 SimpleAudioDecoder::getTypeID | ( | ) | const [virtual] |
getTypeID() implementation of DecoderInterface.
Implements DecoderInterface.
const char * SimpleAudioDecoder::getTypeName | ( | ) | const [virtual] |
getTypeName implementation of DecoderInterface.
Implements DecoderInterface.
AudioQuality SimpleAudioDecoder::getWantedQuality | ( | ) | const [virtual] |
getWantedQuality() implementation of AudioDecoderInterface.
see AudioDecoderInterface::getWantedQuality
Implements AudioDecoderInterface.
void SimpleAudioDecoder::handleNextPacket | ( | const DecoderPacket * | decoderPacket | ) | [virtual] |
handleNextPacket() implementation of DecoderInterface.
Implements DecoderInterface.
void SimpleAudioDecoder::reset | ( | ) | [virtual] |
reset() implementation of DecoderInterface.
Implements DecoderInterface.
void SimpleAudioDecoder::setWantedQuality | ( | const AudioQualityInterface & | wantedQuality | ) | [virtual] |
setWantedQuality() implementation of AudioDecoderInterface.
Implements AudioDecoderInterface.
card8 SimpleAudioDecoder::AudioBits [private] |
card8 SimpleAudioDecoder::AudioChannels [private] |
card16 SimpleAudioDecoder::AudioSamplingRate [private] |
AudioWriterInterface* SimpleAudioDecoder::Device [private] |
card8 SimpleAudioDecoder::ErrorCode [private] |
card64 SimpleAudioDecoder::MaxPosition [private] |
MediaInfo SimpleAudioDecoder::Media [private] |
card64 SimpleAudioDecoder::Position [private] |
SeqNumValidator SimpleAudioDecoder::SeqNumber [private] |