#include <dynacodec.h>
Inheritance diagram for OpalDynaAudioCodec:
Public Member Functions | |
OpalDynaAudioCodec (const OpalDLLCodecRec &_info, Direction direction) | |
~OpalDynaAudioCodec () | |
virtual BOOL | EncodeFrame (BYTE *buffer, unsigned &length) |
virtual BOOL | DecodeFrame (const BYTE *buffer, unsigned length, unsigned &written) |
Protected Attributes | |
const OpalDLLCodecRec & | info |
void * | context |
unsigned | samplesPerFrame |
unsigned | bytesPerFrame |
|
|
|
|
|
Reimplemented from H323FramedAudioCodec. |
|
Encode a sample block into the buffer specified. The samples have been read and are waiting in the readBuffer member variable. it is expected this function will encode exactly bytesPerFrame bytes. Implements H323FramedAudioCodec. |
|
Reimplemented from H323FramedAudioCodec. |
|
|
|
|
|
Reimplemented from H323AudioCodec. |