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

fix: audio

Louis Beaumontad251dc52d1f
diff --git a/screenpipe-audio/src/core.rs b/screenpipe-audio/src/core.rs
index a32bde0fa..c04870e70 100644
--- a/screenpipe-audio/src/core.rs
+++ b/screenpipe-audio/src/core.rs
@@ -196,7 +196,7 @@ async fn run_ffmpeg(
"-ar",
&sample_rate.to_string(),
"-ac",
- &if channels > 2 { 2 } else { channels }.to_string(),
+ &channels.to_string(),
"-i",
"pipe:0",
"-c:a",