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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(audio): activate tested native macOS VoiceProcessingIO backend
louis04224e156f6e
diff --git a/Cargo.lock b/Cargo.lockindex 547ea6abf..fe86bbffa 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -1974,7 +1974,7 @@ dependencies = [[[package]]name = "cpal"version = "0.15.3"-source = "git+https://github.com/screenpipe/cpal.git?rev=e7edfa174466e87a467d1a58e3a4aec233ff8a21#e7edfa174466e87a467d1a58e3a4aec233ff8a21"+source = "git+https://github.com/screenpipe/cpal.git?rev=aa6b20a265bd1d9e240f11db26824b531546395b#aa6b20a265bd1d9e240f11db26824b531546395b"dependencies = ["alsa","cidre 0.15.1",diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lockindex 91ddb4c5e..c19c4e6fd 100644--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock@@ -2609,7 +2609,7 @@ dependencies = [[[package]]name = "cpal"version = "0.15.3"-source = "git+https://github.com/screenpipe/cpal.git?rev=e7edfa174466e87a467d1a58e3a4aec233ff8a21#e7edfa174466e87a467d1a58e3a4aec233ff8a21"+source = "git+https://github.com/screenpipe/cpal.git?rev=aa6b20a265bd1d9e240f11db26824b531546395b#aa6b20a265bd1d9e240f11db26824b531546395b"dependencies = ["alsa","cidre 0.15.1",diff --git a/crates/screenpipe-audio/Cargo.toml b/crates/screenpipe-audio/Cargo.tomlindex ee5f0e46d..79790bcab 100644--- a/crates/screenpipe-audio/Cargo.toml+++ b/crates/screenpipe-audio/Cargo.toml@@ -26,7 +26,7 @@ uuid = { workspace = true }# Cross-platform audio capture. Tracks screenpipe/cpal main, which carries# the Windows WASAPI AEC and macOS VoiceProcessingIO patches.-cpal = { git = "https://github.com/screenpipe/cpal.git", rev = "e7edfa174466e87a467d1a58e3a4aec233ff8a21" }+cpal = { git = "https://github.com/screenpipe/cpal.git", rev = "aa6b20a265bd1d9e240f11db26824b531546395b" }# Wav encodinghound = { workspace = true }diff --git a/crates/screenpipe-audio/src/core/stream.rs b/crates/screenpipe-audio/src/core/stream.rsindex 50cc29f60..16266de88 100644--- a/crates/screenpipe-audio/src/core/stream.rs+++ b/crates/screenpipe-audio/src/core/stream.rs@@ -395,7 +395,7 @@ impl AudioStream {) -> Result<tokio::task::JoinHandle<()>> {let device_name = device.name()?;#[cfg(target_os = "macos")]- let use_vpio = macos_input_vpio;+ let mut use_vpio = macos_input_vpio;#[cfg(target_os = "windows")]let use_aec = windows_input_aec;@@ -518,6 +518,8 @@ impl AudioStream {}#[cfg(target_os = "macos")]Err(primary_err) if macos_input_vpio => {+ // Report the backend actually running after fallback.+ use_vpio = false;warn!(device = %device_name,rate = config.sample_rate().0,