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::DecodeFrame ( const BYTE *  buffer,
unsigned  length,
unsigned &  written 
) [virtual]

Reimplemented from H323FramedAudioCodec.

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.


Member Data Documentation

unsigned OpalDynaAudioCodec::bytesPerFrame [protected]

Reimplemented from H323FramedAudioCodec.

void* OpalDynaAudioCodec::context [protected]

const OpalDLLCodecRec& OpalDynaAudioCodec::info [protected]

unsigned OpalDynaAudioCodec::samplesPerFrame [protected]

Reimplemented from H323AudioCodec.


The documentation for this class was generated from the following file:
Generated on Sat Sep 23 04:16:57 2006 for OpenH323 by  doxygen 1.4.7