OpalDynaAudioCodec Class Reference

#include <dynacodec.h>

Inheritance diagram for OpalDynaAudioCodec:

H323FramedAudioCodec H323AudioCodec H323Codec OpalDynaNonStandardAudioCodec

List of all members.

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 OpalDLLCodecRecinfo
void * context
unsigned samplesPerFrame
unsigned bytesPerFrame


Constructor & Destructor Documentation

OpalDynaAudioCodec::OpalDynaAudioCodec ( const OpalDLLCodecRec _info,
Direction  direction 
)

OpalDynaAudioCodec::~OpalDynaAudioCodec (  ) 


Member Function Documentation

virtual BOOL OpalDynaAudioCodec::EncodeFrame ( BYTE *  buffer,
unsigned &  length 
) [virtual]

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.

virtual BOOL OpalDynaAudioCodec::DecodeFrame ( const BYTE *  buffer,
unsigned  length,
unsigned &  written 
) [virtual]

Reimplemented from H323FramedAudioCodec.


Member Data Documentation

void* OpalDynaAudioCodec::context [protected]

Reimplemented from H323AudioCodec.

unsigned OpalDynaAudioCodec::bytesPerFrame [protected]

Reimplemented from H323FramedAudioCodec.


The documentation for this class was generated from the following file:

Generated on Sat Apr 5 07:27:51 2008 for OpenH323 by  doxygen 1.5.5