#include <codecs.h>
Inheritance diagram for H323_muLawCodec:

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 |
Definition at line 1203 of file codecs.h.
| 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 |
Definition at line 1461 of file codecs.cxx.
References H323Codec::Encoder, and sevenBit.
| virtual int H323_muLawCodec::Encode | ( | short | sample | ) | const [inline, virtual] |
Encode a single sample value.
Implements H323StreamedAudioCodec.
Definition at line 1219 of file codecs.h.
References EncodeSample().
| virtual short H323_muLawCodec::Decode | ( | int | sample | ) | const [inline, virtual] |
Decode a single sample value.
Implements H323StreamedAudioCodec.
Definition at line 1220 of file codecs.h.
References DecodeSample().
1.5.2