CI130X SDK API手册
2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
概述
API参考
components
player
audio_play
audio_play_config.h
浏览该文件的文档.
1
#ifndef _AUDIO_PLAY_CONFIG_H_
2
#define _AUDIO_PLAY_CONFIG_H_
3
4
#include "
sdk_default_config.h
"
5
7
#define AUDIO_PLAYER_CONFIG_DEFAULT_VOLUME 70
8
10
#define AUDIO_PLAYER_CONFIG_MP3_SAVE_DECODER_STATUS 0
11
#define AUDIO_PLAYER_CONFIG_MP3_USE_OUTSIDE_MP3TABLE 0
12
14
#define AUDIO_PLAYER_FIX_DEVICE_POP_ISSUE_HARD 0 //播放暂停抗pop硬件方法
15
#define AUDIO_PLAYER_FIX_DEVICE_POP_ISSUE_SOFT 0 //播放暂停抗pop软件方法
16
#define AUDIO_PLAY_USE_INNER_CODEC_HPOUT_MUTE 0 //采样率改变时关闭HPOUT抗pop策略
17
19
#if AUDIO_PLAYER_CONFIG_AUTO_PARSE_AUDIO_FILE
20
#define AUDIO_PLAYER_PROCTHREAD_STACK (512)
21
#define AUDIO_PLAYER_DATATHREAD_STACK (512)
22
#else
23
#define AUDIO_PLAYER_PROCTHREAD_STACK (480)
24
#define AUDIO_PLAYER_DATATHREAD_STACK (280)
25
#endif
26
28
#define AUDIO_FILE_MAX_NAME_SIZE (30)
29
31
#define AUDIO_PLAYER_THRESHOLD_DATA_SIZE (3200-576)
32
33
#endif
/* _AUDIO_PLAY_CONFIG_H_ */
sdk_default_config.h
sdk配置文件
制作者
1.8.14