Skip to content

Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.

Linux recorder: unmuting with no microphone open reopens it through the device settle step, so the recorder builds again with both mic mute (#118) and the headset settle change (#152)

Eric Brownrout4cd9f3b39071
diff --git a/app/native/yogurt-audio-linux/src/main.rs b/app/native/yogurt-audio-linux/src/main.rs
index d6d73b33..f564d7c1 100644
--- a/app/native/yogurt-audio-linux/src/main.rs
+++ b/app/native/yogurt-audio-linux/src/main.rs
@@ -242,7 +242,7 @@ impl Recorder {
self.me.level();
self.mic_muted = off || self.mic.is_none();
if !self.mic_muted { self.mic_from = Some(boundary); }
- if !off && self.mic.is_none() { self.schedule_mic(0); }
+ if !off && self.mic.is_none() { self.settle.now(Instant::now()); }
}
self.send(obj([("t", s("mic-muted")), ("id", n(id as f64)), ("muted", J::Bool(self.mic_muted)), ("ms", n((self.start_ms + boundary).ceil()))]));
if changing { self.me.pad_to((boundary * 48.0).ceil() as u64); }