Opal_Speex_Encoder Class Reference

#include <speexcodec.h>

Inheritance diagram for Opal_Speex_Encoder:

Opal_Speex_Transcoder OpalFramedTranscoder OpalTranscoder OpalMediaFormatPair Opal_PCM_Speex_11k Opal_PCM_Speex_15k Opal_PCM_Speex_18k2 Opal_PCM_Speex_20k6 Opal_PCM_Speex_5k95 Opal_PCM_Speex_8k List of all members.

Public Member Functions

 Opal_Speex_Encoder (const OpalMediaFormat &outputMediaFormat, int mode, int sampleRate)
 ~Opal_Speex_Encoder ()
virtual BOOL ConvertFrame (const BYTE *src, BYTE *dst)

Protected Attributes

void * encoder
int samples_per_frame

Constructor & Destructor Documentation

Opal_Speex_Encoder::Opal_Speex_Encoder ( const OpalMediaFormat outputMediaFormat,
int  mode,
int  sampleRate 
)

Parameters:
outputMediaFormat  Output media format

Opal_Speex_Encoder::~Opal_Speex_Encoder (  ) 


Member Function Documentation

virtual BOOL Opal_Speex_Encoder::ConvertFrame ( const BYTE *  src,
BYTE *  dst 
) [virtual]

Convert a frame of data from one format to another. This function implicitly knows the input and output frame sizes.

Reimplemented from OpalFramedTranscoder.


Member Data Documentation

void* Opal_Speex_Encoder::encoder [protected]

int Opal_Speex_Encoder::samples_per_frame [protected]


The documentation for this class was generated from the following file:
Generated on Mon Sep 25 16:21:51 2006 for OPAL by  doxygen 1.4.7