|
RTP Audio System
2.0.0
|
Simple Audio Encoder. More...
#include <simpleaudioencoder.h>
Public Member Functions | |
| SimpleAudioEncoder (AudioReaderInterface *audioReader) | |
| ~SimpleAudioEncoder () | |
| 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 |
| AbstractQoSDescription * | getQoSDescription (const cardinal pktHeaderSize, const cardinal pktMaxSize, const card64 offset) |
| void | updateQuality (const AbstractQoSDescription *aqd) |
Private Attributes | |
| AudioReaderInterface * | Source |
| card8 * | FrameBuffer |
| cardinal | FrameBufferPos |
| cardinal | FrameBufferSize |
| card64 | FramePosition |
| card64 | FrameMaxPosition |
| AudioQuality | FrameQualitySetting |
| integer | MediaInfoCounter |
| card64 | ByteRateLimit |
| cardinal | NetworkQualityDecrement |
| cardinal | SendError |
| card8 | ErrorCode |
Simple Audio Encoder.
This class is an simple audio encoder. It does no error correction or redundant transmission.
| SimpleAudioEncoder::SimpleAudioEncoder | ( | AudioReaderInterface * | audioReader | ) |
Constructor for the audio encoder.
| audioReader | AudioReaderInterface for the audio input. |
Destructor.
| void SimpleAudioEncoder::activate | ( | ) | [virtual] |
activate() implementation of EncoderInterface.
Implements EncoderInterface.
| bool SimpleAudioEncoder::checkInterval | ( | card64 & | time, |
| bool & | newRUList | ||
| ) | [virtual] |
checkInterval() implementation of EncoderInterface.
Implements EncoderInterface.
| void SimpleAudioEncoder::deactivate | ( | ) | [virtual] |
deactivate() implementation of EncoderInterface.
Implements EncoderInterface.
| double SimpleAudioEncoder::getFrameRate | ( | ) | const [virtual] |
getFrameRate() implementation of EncoderInterface.
Implements EncoderInterface.
| cardinal SimpleAudioEncoder::getNextPacket | ( | EncoderPacket * | encoderPacket | ) | [virtual] |
getNextPacket() implementation of EncoderInterface.
Implements EncoderInterface.
| AbstractQoSDescription * SimpleAudioEncoder::getQoSDescription | ( | const cardinal | pktHeaderSize, |
| const cardinal | pktMaxSize, | ||
| const card64 | offset | ||
| ) | [virtual] |
getQoSDescription() implementation of EncoderInterface.
Implements EncoderInterface.
| const card16 SimpleAudioEncoder::getTypeID | ( | ) | const [virtual] |
getTypeID() implementation of EncoderInterface.
Implements EncoderInterface.
| const char * SimpleAudioEncoder::getTypeName | ( | ) | const [virtual] |
getTypeName implementation of EncoderInterface.
Implements EncoderInterface.
| bool SimpleAudioEncoder::prepareNextFrame | ( | const cardinal | headerSize, |
| const cardinal | maxPacketSize, | ||
| const cardinal | flags | ||
| ) | [virtual] |
prepareNextFrame() implementation of EncoderInterface.
Implements EncoderInterface.
| void SimpleAudioEncoder::reset | ( | ) | [virtual] |
reset() implementation of EncoderInterface.
Implements EncoderInterface.
| void SimpleAudioEncoder::updateQuality | ( | const AbstractQoSDescription * | aqd | ) | [virtual] |
updateQuality() implementation of EncoderInterface.
Implements EncoderInterface.
card64 SimpleAudioEncoder::ByteRateLimit [private] |
card8 SimpleAudioEncoder::ErrorCode [private] |
card8* SimpleAudioEncoder::FrameBuffer [private] |
cardinal SimpleAudioEncoder::FrameBufferPos [private] |
cardinal SimpleAudioEncoder::FrameBufferSize [private] |
card64 SimpleAudioEncoder::FrameMaxPosition [private] |
card64 SimpleAudioEncoder::FramePosition [private] |
integer SimpleAudioEncoder::MediaInfoCounter [private] |
cardinal SimpleAudioEncoder::SendError [private] |
AudioReaderInterface* SimpleAudioEncoder::Source [private] |