1. 完成了语音识别的C++业务层封装,测试通过

2. 试着测试了一下LVGL_GIF渲染+音乐播放+语音识别的组合简单优化后,
          发现lvgl渲染略显卡顿,语音识别有缓冲区空警告,不过无伤大雅,还需要进一步深度优化。
This commit is contained in:
Misaki
2025-09-23 03:17:23 +08:00
parent 4cc761aab3
commit 48f208b2e6
19 changed files with 587 additions and 94 deletions
@@ -46,8 +46,8 @@ struct SpeechRecognizerConfig {
// 模型路径
std::string model_path = "/sdcard/srmodels";
// 线程配置
ThreadConfig feed_thread_config = {"SR_Feed", 0, 4096, 3, false};
ThreadConfig detect_thread_config = {"SR_Detect", 1, 6 * 1024, 5, false};
ThreadConfig feed_thread_config = {"SR_Feed", 1, 4096, 3, false};
ThreadConfig detect_thread_config = {"SR_Detect", 0, 6 * 1024, 5, false};
// 识别超时时间(ms)
int detection_timeout = 6000;
};