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(windows): an app allowed the microphone but never used no longer counts as in a call, so meetings end on their own

wquguru663ef932ab1f
diff --git a/windows/src/Cicada/Platform.cs b/windows/src/Cicada/Platform.cs
index 59db9ba..ba9f17d 100644
--- a/windows/src/Cicada/Platform.cs
+++ b/windows/src/Cicada/Platform.cs
@@ -112,7 +112,9 @@ static class MicReaders
{
if (name == "NonPackaged") continue;
using var k = parent.OpenSubKey(name);
- if (k?.GetValue("LastUsedTimeStop") is long stop) entries.Add((name, stop));
+ // An app granted the mic but never used has both times 0: not in a call.
+ if (k?.GetValue("LastUsedTimeStop") is long stop && k.GetValue("LastUsedTimeStart") is long start && start > 0)
+ entries.Add((name, stop));
}
}
Read(root);