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

encode audio as mono

Ezra Ellette3af2ff784001
diff --git a/screenpipe-audio/src/stt.rs b/screenpipe-audio/src/stt.rs
index 14d4e86f9..a95f0c7df 100644
--- a/screenpipe-audio/src/stt.rs
+++ b/screenpipe-audio/src/stt.rs
@@ -422,7 +422,7 @@ pub async fn stt(
encode_single_audio(
bytemuck::cast_slice(&audio_input.data),
audio_input.sample_rate,
- audio_input.channels,
+ 1,
&file_path.into(),
)?;
}