CI130X SDK API手册  2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
adpcm.h
浏览该文件的文档.
1 #ifndef __ADPCM_H
2 #define __ADPCM_H
3 
4 #include <stdint.h>
5 
6 uint8_t ADPCM_Encode(int32_t sample);
7 int16_t ADPCM_Decode(uint8_t code);
8 int32_t ADPCM_Decode_clear(void);
9 void set_adpcm_decode_index(int16_t decode_index);
10 void set_adpcm_decode_predsample(int32_t decode_predsample);
11 
12 #endif /* __ADPCM_H*/
void set_adpcm_decode_index(int16_t decode_index)
Definition: adpcm.c:206
int16_t ADPCM_Decode(uint8_t code)
ADPCM_Decode.
Definition: adpcm.c:129
uint8_t ADPCM_Encode(int32_t sample)
ADPCM_Encode.
Definition: adpcm.c:33
int32_t ADPCM_Decode_clear(void)
Definition: adpcm.c:198
void set_adpcm_decode_predsample(int32_t decode_predsample)
Definition: adpcm.c:211