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

audio default host change from screencapturekit to default host

matthew-heartful343081e5b428
diff --git a/screenpipe-audio/src/core.rs b/screenpipe-audio/src/core.rs
index 47452f04e..518240c93 100644
--- a/screenpipe-audio/src/core.rs
+++ b/screenpipe-audio/src/core.rs
@@ -87,7 +87,7 @@ fn get_device_and_config(
) -> Result<(cpal::Device, cpal::SupportedStreamConfig)> {
let host = match audio_device.device_type {
#[cfg(target_os = "macos")]
- DeviceType::Output => cpal::host_from_id(cpal::HostId::ScreenCaptureKit)?,
+ DeviceType::Output => cpal::default_host(),
_ => cpal::default_host(),
};
@@ -362,4 +362,4 @@ pub fn default_output_device() -> Result<AudioDevice> {
info!("Using default output device: {}", device.name()?);
return Ok(AudioDevice::new(device.name()?, DeviceType::Output));
}
-}
+}
\ No newline at end of file