![]() |
CI130X SDK API手册
2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
|
#include <stdint.h>
函数 | |
uint8_t | ADPCM_Encode (int32_t sample) |
ADPCM_Encode. 更多... | |
int16_t | ADPCM_Decode (uint8_t code) |
ADPCM_Decode. 更多... | |
int32_t | ADPCM_Decode_clear (void) |
void | set_adpcm_decode_index (int16_t decode_index) |
void | set_adpcm_decode_predsample (int32_t decode_predsample) |
int16_t ADPCM_Decode | ( | uint8_t | code | ) |
ADPCM_Decode.
code | a byte containing a 4-bit ADPCM sample. |
16-bit ADPCM sample |
int32_t ADPCM_Decode_clear | ( | void | ) |
uint8_t ADPCM_Encode | ( | int32_t | sample | ) |
ADPCM_Encode.
sample | a 16-bit PCM sample |
a 4-bit ADPCM sample |
void set_adpcm_decode_index | ( | int16_t | decode_index | ) |
void set_adpcm_decode_predsample | ( | int32_t | decode_predsample | ) |