From a865e4764f7c95e73cb653e63e9746bdc853baa1 Mon Sep 17 00:00:00 2001 From: John Tennant Date: Fri, 31 Jul 2026 14:13:23 -0400 Subject: [PATCH] chore(desktop): keep PTT wiring compact Signed-off-by: John Tennant --- desktop/src-tauri/src/lib.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/desktop/src-tauri/src/lib.rs b/desktop/src-tauri/src/lib.rs index d5be69c04..4bec0e39d 100644 --- a/desktop/src-tauri/src/lib.rs +++ b/desktop/src-tauri/src/lib.rs @@ -300,10 +300,8 @@ pub fn run() { if let Ok(hs) = state.huddle_state.lock() { hs.ptt_active .store(true, std::sync::atomic::Ordering::Release); - // Cancel queued playback and in-flight synthesis. - // The synthesizing flag keeps barge-in armed during - // silent decoder gaps without leaving a stale cancel - // flag after the utterance finishes. + // Cancel playback and synthesis through decoder gaps + // without leaving a stale cancel afterward. if huddle::tts::is_tts_interruptible( hs.tts_active.as_ref(), hs.tts_synthesizing.as_ref(),