mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
chore(desktop): keep PTT wiring compact
Signed-off-by: John Tennant <jtennant@squareup.com>
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user