30 #ifndef OPAL_CODEC_G711CODEC_H 31 #define OPAL_CODEC_G711CODEC_H 68 static int ConvertSample(
int sample);
78 static int ConvertSample(
int sample);
88 static int ConvertSample(
int sample);
98 static int ConvertSample(
int sample);
104 #define OPAL_REGISTER_G711() \ 105 OPAL_REGISTER_TRANSCODER(Opal_G711_uLaw_PCM, OpalG711_ULAW_64K, OpalPCM16); \ 106 OPAL_REGISTER_TRANSCODER(Opal_PCM_G711_uLaw, OpalPCM16, OpalG711_ULAW_64K); \ 107 OPAL_REGISTER_TRANSCODER(Opal_G711_ALaw_PCM, OpalG711_ALAW_64K, OpalPCM16); \ 108 OPAL_REGISTER_TRANSCODER(Opal_PCM_G711_ALaw, OpalPCM16, OpalG711_ALAW_64K) 110 #endif // OPAL_CODEC_G711CODEC_H OpalG711_PLC plc
Definition: g711codec.h:56
Definition: g711a1_plc.h:46
PINDEX lastPayloadSize
Definition: g711codec.h:57
Definition: transcoders.h:459
Opal_G711_PCM(const OpalMediaFormat &inputMediaFormat)
Definition: g711codec.h:94
Definition: g711codec.h:64
Definition: g711codec.h:45
Definition: g711codec.h:84
virtual PBoolean Convert(const RTP_DataFrame &input, RTP_DataFrame &output)
Definition: g711codec.h:74
virtual int ConvertOne(int sample) const =0