#include <codecs.h>
Public Member Functions | |
virtual int | Encode (short sample) const |
virtual short | Decode (int sample) const |
Construction | |
H323_muLawCodec (Direction direction, BOOL at56kbps, unsigned frameSize) | |
Static Public Member Functions | |
static int | EncodeSample (short sample) |
static short | DecodeSample (int sample) |
Protected Attributes | |
BOOL | sevenBit |
H323_muLawCodec::H323_muLawCodec | ( | Direction | direction, | |
BOOL | at56kbps, | |||
unsigned | frameSize | |||
) |
Create a new G.711 codec for muLaw.
direction | Direction in which this instance runs | |
at56kbps | Encoding bit rate. | |
frameSize | Size of frame in bytes |
virtual short H323_muLawCodec::Decode | ( | int | sample | ) | const [inline, virtual] |
static short H323_muLawCodec::DecodeSample | ( | int | sample | ) | [static] |
Referenced by Decode().
virtual int H323_muLawCodec::Encode | ( | short | sample | ) | const [inline, virtual] |
static int H323_muLawCodec::EncodeSample | ( | short | sample | ) | [static] |
Referenced by Encode().
BOOL H323_muLawCodec::sevenBit [protected] |