#include <stdlib.h>#include <inttypes.h>#include <string.h>#include "spandsp/telephony.h"#include "spandsp/oki_adpcm.h"Functions | |
| oki_adpcm_state_t * | oki_adpcm_init (oki_adpcm_state_t *s, int bit_rate) |
| int | oki_adpcm_release (oki_adpcm_state_t *s) |
| int | oki_adpcm_decode (oki_adpcm_state_t *s, int16_t amp[], const uint8_t oki_data[], int oki_bytes) |
| int | oki_adpcm_encode (oki_adpcm_state_t *s, uint8_t oki_data[], const int16_t amp[], int len) |
|
||||||||||||||||||||
|
Decode a buffer of Oki ADPCM data to linear PCM.
|
|
||||||||||||||||||||
|
Encode a buffer of linear PCM data to Oki ADPCM.
|
|
||||||||||||
|
Initialise an Oki ADPCM encode or decode context.
|
|
|
Free an Oki ADPCM encode or decode context.
|
1.4.6