-rw-r--r-- | Android.mk | 6 | ||||
-rw-r--r-- | audio_hw.c | 135 | ||||
-rwxr-xr-x | rcaudio/audio.bt.remote-arm.a | 6832 | ||||
-rwxr-xr-x | rcaudio/audio.bt.remote-arm64.a | 4622 | ||||
-rw-r--r-- | rcaudio/bitpack.h | 35 | ||||
-rw-r--r-- | rcaudio/bv32.h | 47 | ||||
-rw-r--r-- | rcaudio/bv32cnst.h | 152 | ||||
-rw-r--r-- | rcaudio/bv32strct.h | 93 | ||||
-rw-r--r-- | rcaudio/bvcommon.h | 102 | ||||
-rw-r--r-- | rcaudio/def.h | 30 | ||||
-rw-r--r-- | rcaudio/dvi_adpcm.h | 17 | ||||
-rw-r--r-- | rcaudio/huitong_audio.h | 152 | ||||
-rw-r--r-- | rcaudio/huitong_log.h | 4 | ||||
-rw-r--r-- | rcaudio/mainSBC.h | 3 | ||||
-rw-r--r-- | rcaudio/opus.h | 986 | ||||
-rw-r--r-- | rcaudio/opus_defines.h | 766 | ||||
-rw-r--r-- | rcaudio/opus_types.h | 159 | ||||
-rw-r--r-- | rcaudio/ti_audio.h | 15 | ||||
-rw-r--r-- | rcaudio/typedef.h | 33 |
19 files changed, 14154 insertions, 35 deletions
diff --git a/rcaudio/dvi_adpcm.h b/rcaudio/dvi_adpcm.h new file mode 100644 index 0000000..48b41d2 --- a/dev/null +++ b/rcaudio/dvi_adpcm.h @@ -0,0 +1,17 @@ +#ifndef _dvi_adpcm_h +#define _dvi_adpcm_h + +#include <stdint.h> + +struct __attribute__ ((__packed__)) dvi_adpcm_state { + int16_t valpred; /* Previous predicted value */ + uint8_t index; /* Index into stepsize table */ +}; + +typedef struct dvi_adpcm_state dvi_adpcm_state_t; + +void *dvi_adpcm_init(void *, double); +int dvi_adpcm_decode(void *in_buf, int in_size, void *out_buf, int *out_size, void *state); + +#endif + |