feat: add local random timeout prompts

This commit is contained in:
chenjintao
2026-09-21 10:48:15 +08:00
parent 53d480c1fd
commit d24c8e186a
4 changed files with 87 additions and 10 deletions
@@ -0,0 +1,19 @@
#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