![]() |
CI130X SDK API手册
2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
|
#include "sdk_default_config.h"
宏定义 | |
#define | AUDIO_PLAYER_CONFIG_DEFAULT_VOLUME 70 |
#define | AUDIO_PLAYER_CONFIG_MP3_SAVE_DECODER_STATUS 0 |
#define | AUDIO_PLAYER_CONFIG_MP3_USE_OUTSIDE_MP3TABLE 0 |
#define | AUDIO_PLAYER_FIX_DEVICE_POP_ISSUE_HARD 0 |
#define | AUDIO_PLAYER_FIX_DEVICE_POP_ISSUE_SOFT 0 |
#define | AUDIO_PLAY_USE_INNER_CODEC_HPOUT_MUTE 0 |
#define | AUDIO_PLAYER_PROCTHREAD_STACK (480) |
#define | AUDIO_PLAYER_DATATHREAD_STACK (280) |
#define | AUDIO_FILE_MAX_NAME_SIZE (30) |
#define | AUDIO_PLAYER_THRESHOLD_DATA_SIZE (3200-576) |
#define AUDIO_FILE_MAX_NAME_SIZE (30) |
剩余多少音频后去释放THRESHOLD回调函数
#define AUDIO_PLAY_USE_INNER_CODEC_HPOUT_MUTE 0 |
#define AUDIO_PLAYER_CONFIG_DEFAULT_VOLUME 70 |
播放器默认音量大小
#define AUDIO_PLAYER_CONFIG_MP3_SAVE_DECODER_STATUS 0 |
mp3解码器保存上下文(消耗额外内存,在两首mp3互相切换时需要开启)
#define AUDIO_PLAYER_CONFIG_MP3_USE_OUTSIDE_MP3TABLE 0 |
#define AUDIO_PLAYER_DATATHREAD_STACK (280) |
sd卡音频文件名称长度
#define AUDIO_PLAYER_FIX_DEVICE_POP_ISSUE_HARD 0 |
CI放音设备抗pop策略,这些策略目前仅有部分策略在云+端方案使用
#define AUDIO_PLAYER_FIX_DEVICE_POP_ISSUE_SOFT 0 |
#define AUDIO_PLAYER_PROCTHREAD_STACK (480) |
播放器任务栈大小配置
#define AUDIO_PLAYER_THRESHOLD_DATA_SIZE (3200-576) |