OpenH323 1.18.0
Public Member Functions | Static Public Member Functions | Protected Attributes
H323_muLawCodec Class Reference

#include <codecs.h>

Inheritance diagram for H323_muLawCodec:
H323StreamedAudioCodec H323FramedAudioCodec H323AudioCodec H323Codec

List of all members.

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

Detailed Description

This class is a G711 uLaw codec.


Constructor & Destructor Documentation

H323_muLawCodec::H323_muLawCodec ( Direction  direction,
BOOL  at56kbps,
unsigned  frameSize 
)

Create a new G.711 codec for muLaw.

Parameters:
directionDirection in which this instance runs
at56kbpsEncoding bit rate.
frameSizeSize of frame in bytes

Member Function Documentation

virtual short H323_muLawCodec::Decode ( int  sample) const [inline, virtual]

Decode a single sample value.

Implements H323StreamedAudioCodec.

References DecodeSample().

static short H323_muLawCodec::DecodeSample ( int  sample) [static]

Referenced by Decode().

virtual int H323_muLawCodec::Encode ( short  sample) const [inline, virtual]

Encode a single sample value.

Implements H323StreamedAudioCodec.

References EncodeSample().

static int H323_muLawCodec::EncodeSample ( short  sample) [static]

Referenced by Encode().


Member Data Documentation

BOOL H323_muLawCodec::sevenBit [protected]

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