From 6a1a1adfc9ef4513abd2a141177ef2a92622bbc1 Mon Sep 17 00:00:00 2001 From: xue <2144439972@qq.com> Date: Thu, 27 Nov 2025 19:20:03 +0800 Subject: [PATCH] =?utf8?q?=E4=BC=98=E5=8C=96=E5=AF=B9=E8=AF=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp | 1 + code/sdk/zhihui/leiniao/imsl_ln/ln_api_websocket.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 57363661f..1ce6cb0eb 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 @@ -477,6 +477,7 @@ namespace OHOS //清空音频文本队列 ThunderBirdModel::GetInstance()->ClearAudioTextQueue(); } else if(currentView == THUNDERBIRD_DIALOGUEVIEW && currentSubView == ThunderBirdDialogueView::THUNDERBIRD_DIALOGUEVIEW_SPEAKING) { + ln_ws_send_voice_chat_interrupt("新对话开始"); WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "开始录音,跳转到聆听状态"); // 开始录音 ThunderBirdMainView::GetInstance()->ChangeView(currentView, THUNDERBIRD_DIALOGUEVIEW, ThunderBirdDialogueView::THUNDERBIRD_DIALOGUEVIEW_LISTENING); diff --git a/code/sdk/zhihui/leiniao/imsl_ln/ln_api_websocket.c b/code/sdk/zhihui/leiniao/imsl_ln/ln_api_websocket.c index b96db84eb..2549a5487 100644 --- a/code/sdk/zhihui/leiniao/imsl_ln/ln_api_websocket.c +++ b/code/sdk/zhihui/leiniao/imsl_ln/ln_api_websocket.c @@ -701,7 +701,7 @@ int ln_ws_start_audio_chat(ln_audio_chat_command_t command_type) LN_WS_WARN("Audio chat already active: %s\n", g_audio_chat_ctx.chat_id); return 0; } - ln_ws_send_voice_chat_interrupt("新对话开始"); + // ln_ws_send_voice_chat_interrupt("新对话开始"); //修改为结束与按键开始打断 AI_ForceInterrupt(); -- 2.17.1