From ae754db6e9ce6d95148ceb772420e0c72cc1ed59 Mon Sep 17 00:00:00 2001 From: xue <2144439972@qq.com> Date: Sat, 7 Mar 2026 19:00:07 +0800 Subject: [PATCH] =?utf8?q?=E4=BF=AE=E5=A4=8D=E6=8C=89=E9=94=AE=E6=93=8D?= =?utf8?q?=E4=BD=9Cvad=E9=80=BB=E8=BE=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.17.1