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
style: cargo fmt screenpipe-audio + screenpipe-engine (#3634)
Louis Beaumontc10acf392e7e
diff --git a/crates/screenpipe-audio/src/audio_manager/device_monitor.rs b/crates/screenpipe-audio/src/audio_manager/device_monitor.rsindex 9eea76adb..3b81801d2 100644--- a/crates/screenpipe-audio/src/audio_manager/device_monitor.rs+++ b/crates/screenpipe-audio/src/audio_manager/device_monitor.rs@@ -748,8 +748,11 @@ pub async fn start_device_monitor({let current_enabled = audio_manager.enabled_devices().await;let user_disabled = audio_manager.user_disabled_devices().await;- let has_input =- is_device_type_running(&device_manager, ¤t_enabled, DeviceType::Input);+ let has_input = is_device_type_running(+ &device_manager,+ ¤t_enabled,+ DeviceType::Input,+ );// Don't try to recover if user explicitly disabled all inputslet all_inputs_user_disabled = !has_input && {match default_input_device() {diff --git a/crates/screenpipe-engine/src/bin/screenpipe-engine.rs b/crates/screenpipe-engine/src/bin/screenpipe-engine.rsindex 721f9e0b2..f2a81d380 100644--- a/crates/screenpipe-engine/src/bin/screenpipe-engine.rs+++ b/crates/screenpipe-engine/src/bin/screenpipe-engine.rs@@ -17,8 +17,7 @@ use screenpipe_audio::core::device::{get_cpal_device_and_config, AudioDevice, DeviceType, MACOS_OUTPUT_AUDIO_DEVICE_NAME,};use screenpipe_audio::{- core::device::resolve_audio_devices_for_capture,- meeting_detector::MeetingDetector,+ core::device::resolve_audio_devices_for_capture, meeting_detector::MeetingDetector,};use screenpipe_core::agents::AgentExecutor;use screenpipe_core::find_ffmpeg_path;@@ -736,11 +735,8 @@ async fn main() -> anyhow::Result<()> {let audio_devices = if config.disable_audio {Vec::new()} else {- resolve_audio_devices_for_capture(- &config.audio_devices,- config.use_system_default_audio,- )- .await+ resolve_audio_devices_for_capture(&config.audio_devices, config.use_system_default_audio)+ .await};if !config.disable_audio && audio_devices.is_empty() {