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): add missing mut on devices iterator for Windows build

Louis Beaumontb34a3d0d48fe
diff --git a/crates/screenpipe-audio/src/core/device.rs b/crates/screenpipe-audio/src/core/device.rs
index 369daaa3b..01a4b05b4 100644
--- a/crates/screenpipe-audio/src/core/device.rs
+++ b/crates/screenpipe-audio/src/core/device.rs
@@ -270,7 +270,7 @@ pub async fn get_cpal_device_and_config(
#[cfg(not(target_os = "macos"))]
{
- let devices = match audio_device.device_type {
+ let mut devices = match audio_device.device_type {
DeviceType::Input => host.input_devices()?,
DeviceType::Output => host.output_devices()?,
};