32#if !defined(_SPANDSP_IMA_ADPCM_H_)
33#define _SPANDSP_IMA_ADPCM_H_
62#if defined(__cplusplus)
107 const uint8_t ima_data[],
110#if defined(__cplusplus)
int ima_adpcm_free(ima_adpcm_state_t *s)
Definition: ima_adpcm.c:302
int ima_adpcm_encode(ima_adpcm_state_t *s, uint8_t ima_data[], const int16_t amp[], int len)
Definition: ima_adpcm.c:425
ima_adpcm_state_t * ima_adpcm_init(ima_adpcm_state_t *s, int variant, int chunk_size)
Definition: ima_adpcm.c:279
int ima_adpcm_decode(ima_adpcm_state_t *s, int16_t amp[], const uint8_t ima_data[], int ima_bytes)
Definition: ima_adpcm.c:309
int ima_adpcm_release(ima_adpcm_state_t *s)
Definition: ima_adpcm.c:296
@ IMA_ADPCM_DVI4
Definition: ima_adpcm.h:50
@ IMA_ADPCM_IMA4
Definition: ima_adpcm.h:48
@ IMA_ADPCM_VDVI
Definition: ima_adpcm.h:52
Definition: private/ima_adpcm.h:39
int chunk_size
The size of a chunk, in samples.
Definition: private/ima_adpcm.h:42