28 #if !defined(_SPANDSP_G726_H_) 29 #define _SPANDSP_G726_H_ 48 G726_ENCODING_LINEAR = 0,
55 G726_PACKING_NONE = 0,
56 G726_PACKING_LEFT = 1,
57 G726_PACKING_RIGHT = 2
65 typedef int16_t (*g726_decoder_func_t)(
g726_state_t *s, uint8_t code);
67 typedef uint8_t (*g726_encoder_func_t)(
g726_state_t *s, int16_t amp);
69 #if defined(__cplusplus) 101 const uint8_t g726_data[],
115 #if defined(__cplusplus) int g726_free(g726_state_t *s)
Definition: g726.c:1064
g726_state_t * g726_init(g726_state_t *s, int bit_rate, int ext_coding, int packing)
Definition: g726.c:998
Definition: private/g726.h:38
int g726_decode(g726_state_t *s, int16_t amp[], const uint8_t g726_data[], int g726_bytes)
Definition: g726.c:1071
int packing
Definition: private/g726.h:47
int g726_encode(g726_state_t *s, uint8_t g726_data[], const int16_t amp[], int len)
Definition: g726.c:1127
int ext_coding
Definition: private/g726.h:43
int g726_release(g726_state_t *s)
Definition: g726.c:1058