RTP Audio System  2.0.0
SimpleAudioDecoder Class Reference

Simple Audio Decoder. More...

#include <simpleaudiodecoder.h>

Inheritance diagram for SimpleAudioDecoder:
AudioDecoderInterface Synchronizable DecoderInterface AudioQualityInterface

List of all members.

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
AudioWriterInterfaceDevice
card64 Position
card64 MaxPosition
AudioQuality WantedQuality
MediaInfo Media
card16 AudioSamplingRate
card8 AudioBits
card8 AudioChannels
card8 ErrorCode

Detailed Description

Simple Audio Decoder.

This class is an simple audio decoder. It does no error correction or redundant transmission.

Author:
Thomas Dreibholz
Version:
1.0

Constructor & Destructor Documentation

Constructor for the audio decoder.

Parameters:
audioWriterAudioReaderInterface for the audio output.

Member Function Documentation

void SimpleAudioDecoder::activate ( ) [virtual]
void SimpleAudioDecoder::getMediaInfo ( MediaInfo mediaInfo) const [virtual]
const card16 SimpleAudioDecoder::getTypeID ( ) const [virtual]
const char * SimpleAudioDecoder::getTypeName ( ) const [virtual]

getTypeName implementation of DecoderInterface.

See also:
DecoderInterface::getTypeName

Implements DecoderInterface.

void SimpleAudioDecoder::handleNextPacket ( const DecoderPacket decoderPacket) [virtual]
void SimpleAudioDecoder::reset ( ) [virtual]

reset() implementation of DecoderInterface.

See also:
DecoderInterface::reset

Implements DecoderInterface.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines