Files
banban/ql-application/threadx/interface/custom_app/inc/audio_prompt.h
T

20 lines
596 B
C

#ifndef _AUDIO_PROMPT_H_
#define _AUDIO_PROMPT_H_
/*
* 本地提示音索引约定。
* 现有索引保持不变,新增的 6 条对话响应超时音频从 19 开始追加,
* 避免影响项目中已经使用的其他提示音索引。
*/
#define AUDIO_PROMPT_TTS_ERROR_INDEX 9
#define AUDIO_PROMPT_TTS_ERROR_FIRST_INDEX 19
#define AUDIO_PROMPT_TTS_ERROR_LAST_INDEX 24
#define AUDIO_PROMPT_FILE_COUNT 25
extern const char *mp3_file[AUDIO_PROMPT_FILE_COUNT];
int app_play_tips_file(int index);
int app_play_random_tts_error(void);
#endif