RTP Audio System  2.0.0
AdvancedAudioEncoder Class Reference

Advanced Audio Encoder. More...

#include <advancedaudioencoder.h>

Inheritance diagram for AdvancedAudioEncoder:
AudioEncoderInterface AudioQuality EncoderInterface AdjustableAudioQualityInterface AdjustableAudioQualityInterface AudioQualityInterface AudioQualityInterface

List of all members.

Public Member Functions

 AdvancedAudioEncoder (AudioReaderInterface *audioReader)
 ~AdvancedAudioEncoder ()
const card16 getTypeID () const
const char * getTypeName () const
void activate ()
void deactivate ()
void reset ()
bool checkInterval (card64 &time, bool &newRUList)
bool prepareNextFrame (const cardinal headerSize, const cardinal maxPacketSize, const cardinal flags)
cardinal getNextPacket (EncoderPacket *encoderPacket)
double getFrameRate () const
AbstractQoSDescriptiongetQoSDescription (const cardinal pktHeaderSize, const cardinal pktMaxSize, const card64 offset)
void updateQuality (const AbstractQoSDescription *aqd)

Private Attributes

AudioReaderInterfaceSource
card64 FramePosition
card64 FrameMaxPosition
AudioQuality FrameQualitySetting
card8FrameBufferLL
card8FrameBufferRL
card8FrameBufferLU
card8FrameBufferRU
cardinal FrameBufferPosLL
cardinal FrameBufferPosRL
cardinal FrameBufferPosLU
cardinal FrameBufferPosRU
cardinal FrameFragmentLL
cardinal FrameFragmentRL
cardinal FrameFragmentLU
cardinal FrameFragmentRU
cardinal FrameBufferSizeLL
cardinal FrameBufferSizeRL
cardinal FrameBufferSizeLU
cardinal FrameBufferSizeRU
cardinal FrameLayerLL
cardinal FrameLayerRL
cardinal FrameLayerLU
cardinal FrameLayerRU
integer MediaInfoCounter
card64 TotalByteRateLimit
card64 ByteRateLimitL1
card64 ByteRateLimitL2
card64 ByteRateLimitL3
cardinal NetworkQualityDecrement
cardinal SendError
cardinal SentError
card8 ErrorCode

Detailed Description

Advanced Audio Encoder.

This class is an advanced audio encoder. It does error correction by using nearly redundant data of left and right channel to "reconstruct" the full data.

Author:
Thomas Dreibholz
Version:
1.0

Constructor & Destructor Documentation

Constructor for the audio encoder.

Parameters:
audioReaderAudioReaderInterface for the audio input.

Member Function Documentation

bool AdvancedAudioEncoder::checkInterval ( card64 time,
bool &  newRUList 
) [virtual]
AbstractQoSDescription * AdvancedAudioEncoder::getQoSDescription ( const cardinal  pktHeaderSize,
const cardinal  pktMaxSize,
const card64  offset 
) [virtual]
const card16 AdvancedAudioEncoder::getTypeID ( ) const [virtual]
const char * AdvancedAudioEncoder::getTypeName ( ) const [virtual]

getTypeName implementation of EncoderInterface.

See also:
EncoderInterface::getTypeName

Implements EncoderInterface.

bool AdvancedAudioEncoder::prepareNextFrame ( const cardinal  headerSize,
const cardinal  maxPacketSize,
const cardinal  flags 
) [virtual]
void AdvancedAudioEncoder::reset ( ) [virtual]

reset() implementation of EncoderInterface.

See also:
EncoderInterface::reset

Implements EncoderInterface.


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