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
test(audio): pass macos_input_vpio=false to AudioStream::from_device
Louis Beaumontc3afbe4709b7
diff --git a/crates/screenpipe-audio/tests/core_tests.rs b/crates/screenpipe-audio/tests/core_tests.rsindex 1510ff31c..98f3c2dcc 100644--- a/crates/screenpipe-audio/tests/core_tests.rs+++ b/crates/screenpipe-audio/tests/core_tests.rs@@ -65,9 +65,10 @@ mod tests {let is_running = Arc::new(AtomicBool::new(true));let is_running_clone = Arc::clone(&is_running);- let audio_stream = AudioStream::from_device(device_spec, is_running_clone, false, false)- .await- .unwrap();+ let audio_stream =+ AudioStream::from_device(device_spec, is_running_clone, false, false, false)+ .await+ .unwrap();// Actlet start_time = Instant::now();@@ -127,7 +128,7 @@ mod tests {let is_running_clone = Arc::clone(&is_running);let audio_stream =- AudioStream::from_device(device_spec, is_running_clone.clone(), false, false)+ AudioStream::from_device(device_spec, is_running_clone.clone(), false, false, false).await.unwrap();@@ -405,9 +406,10 @@ mod tests {let is_running = Arc::new(AtomicBool::new(true));// Create an audio stream- let stream = AudioStream::from_device(Arc::new(device), is_running.clone(), false, false)- .await- .expect("should create audio stream");+ let stream =+ AudioStream::from_device(Arc::new(device), is_running.clone(), false, false, false)+ .await+ .expect("should create audio stream");// Let it run for a bit to ensure the audio thread is activetokio::time::sleep(Duration::from_millis(100)).await;