Skip to content

知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.

fix(linux): after a meeting on headphones, the next meeting on speakers no longer lets the first online sentence into the room's lines

wquguruc58d0d44494c
diff --git a/linux/cicada/core/listen.py b/linux/cicada/core/listen.py
index ce5789b..287cc0b 100644
--- a/linux/cicada/core/listen.py
+++ b/linux/cicada/core/listen.py
@@ -282,6 +282,10 @@ class ListenEngine:
hears silence while the computer plays speech."""
if not self.listening or self._room is not None:
return
+ # Another meeting may be another room or another output: echo is assumed until measured.
+ forced = self.echo_gate.forced
+ self.echo_gate = EchoGate()
+ self.echo_gate.forced = forced
lane = _Lane(via="room", first=ROOM_IDS)
lane.gate = VoiceGate(adaptive=True)
lane.muted = any(l.muted for l in self._lanes())