From: xue <2144439972@qq.com> Date: Sat, 7 Mar 2026 11:00:07 +0000 (+0800) Subject: 修复按键操作vad逻辑问题 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F3269%2Ftarget%2F1;p=mirrors%2FFD230.git 修复按键操作vad逻辑问题 --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp index 36478f48b..784a4a3d9 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp @@ -437,6 +437,8 @@ namespace OHOS if (currentView == THUNDERBIRD_DIALOGUEVIEW && currentSubView == ThunderBirdDialogueView::THUNDERBIRD_DIALOGUEVIEW_LISTENING ) { WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "停止录音,跳转到思考状态"); + // 按键结束录音:先关闭 VAD 识别,避免进入 speaking 后仍被 VAD 触发切回聆听 + ln_ws_set_vad_recognition_enabled(false); // 停止录音并发送 // 停止聆听超时定时 ln_ws_end_audio_chat();