#include <speexcodec.h>
Inheritance diagram for Opal_Speex_Decoder:
Public Member Functions | |
Opal_Speex_Decoder (const OpalMediaFormat &inputMediaFormat, int mode, int sampleRate) | |
~Opal_Speex_Decoder () | |
virtual BOOL | ConvertFrame (const BYTE *src, BYTE *dst) |
virtual BOOL | ConvertSilentFrame (BYTE *dst) |
Protected Attributes | |
void * | decoder |
int | samples_per_frame |
Opal_Speex_Decoder::Opal_Speex_Decoder | ( | const OpalMediaFormat & | inputMediaFormat, | |
int | mode, | |||
int | sampleRate | |||
) |
inputMediaFormat | Input media format |
Opal_Speex_Decoder::~Opal_Speex_Decoder | ( | ) |
virtual BOOL Opal_Speex_Decoder::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.
virtual BOOL Opal_Speex_Decoder::ConvertSilentFrame | ( | BYTE * | dst | ) | [virtual] |
Reimplemented from OpalFramedTranscoder.
void* Opal_Speex_Decoder::decoder [protected] |
int Opal_Speex_Decoder::samples_per_frame [protected] |