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

Public Member Functions | |
| virtual int | Encode (short sample) const |
| virtual short | Decode (int sample) const |
Construction | |
| H323_ALawCodec (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_ALawCodec::H323_ALawCodec | ( | Direction | direction, | |
| BOOL | at56kbps, | |||
| unsigned | frameSize | |||
| ) |
Create a new G.711 codec for ALaw.
| direction | Direction in which this instance runs |
| at56kbps | Encoding bit rate. |
| frameSize | Size of frame in bytes |
| virtual short H323_ALawCodec::Decode | ( | int | sample | ) | const [inline, virtual] |
Decode a single sample value.
Implements H323StreamedAudioCodec.
| static short H323_ALawCodec::DecodeSample | ( | int | sample | ) | [static] |
| virtual int H323_ALawCodec::Encode | ( | short | sample | ) | const [inline, virtual] |
Encode a single sample value.
Implements H323StreamedAudioCodec.
| static int H323_ALawCodec::EncodeSample | ( | short | sample | ) | [static] |
BOOL H323_ALawCodec::sevenBit [protected] |
1.4.7