Go to the source code of this file.
Defines | |
#define | _G711_H_ |
#define | ULAW_BIAS 0x84 |
#define | ALAW_AMI_MASK 0x55 |
Functions | |
uint8_t | alaw_to_ulaw (uint8_t alaw) |
Transcode from A-law to u-law, using the procedure defined in G.711. | |
uint8_t | ulaw_to_alaw (uint8_t ulaw) |
Transcode from u-law to A-law, using the procedure defined in G.711. |
uint8_t alaw_to_ulaw | ( | uint8_t | alaw | ) |
Transcode from A-law to u-law, using the procedure defined in G.711.
alaw | The A-law sample to transcode. |
uint8_t ulaw_to_alaw | ( | uint8_t | ulaw | ) |
Transcode from u-law to A-law, using the procedure defined in G.711.
alaw | The u-law sample to transcode. |