Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

chore: disable silero on windows

Louis Beaumontb7290dd793bc
diff --git a/screenpipe-audio/src/vad_engine.rs b/screenpipe-audio/src/vad_engine.rs
index a360dce03..c8f5322a3 100644
--- a/screenpipe-audio/src/vad_engine.rs
+++ b/screenpipe-audio/src/vad_engine.rs
@@ -77,6 +77,7 @@ impl SileroVad {
}
}
+#[cfg(not(target_os = "windows"))]
impl VadEngine for SileroVad {
fn is_voice_segment(&mut self, audio_chunk: &[f32]) -> anyhow::Result<bool> {
const CHUNK_SIZE: usize = 1600; // 100 milliseconds