#include <inttypes.h>#include <memory.h>#include <stdlib.h>#include "spandsp/telephony.h"#include "spandsp/dc_restore.h"#include "spandsp/bitstream.h"#include "spandsp/bit_operations.h"#include "spandsp/g711.h"#include "spandsp/g726.h"Functions | |
| g726_state_t * | g726_init (g726_state_t *s, int bit_rate, int ext_coding, int packing) |
| int | g726_release (g726_state_t *s) |
| int | g726_decode (g726_state_t *s, int16_t amp[], const uint8_t g726_data[], int g726_bytes) |
| int | g726_encode (g726_state_t *s, uint8_t g726_data[], const int16_t amp[], int len) |
|
||||||||||||||||||||
|
Decode a buffer of G.726 ADPCM data to linear PCM, a-law or u-law.
|
|
||||||||||||||||||||
|
Encode a buffer of linear PCM data to G.726 ADPCM.
|
|
||||||||||||||||||||
|
Initialise a G.726 encode or decode context.
|
|
|
Free a G.726 encode or decode context.
|
1.4.6