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: add missing DbConfig arg to DatabaseManager::new in audio example

Louis Beaumontb0e299c28bc6
diff --git a/crates/screenpipe-audio/examples/screenpipe-audio.rs b/crates/screenpipe-audio/examples/screenpipe-audio.rs
index 4ce499428..ac718f471 100644
--- a/crates/screenpipe-audio/examples/screenpipe-audio.rs
+++ b/crates/screenpipe-audio/examples/screenpipe-audio.rs
@@ -71,7 +71,7 @@ async fn main() -> Result<()> {
let ctrl_c_future = signal::ctrl_c();
pin_mut!(ctrl_c_future);
- let db = DatabaseManager::new("sqlite::memory:").await?;
+ let db = DatabaseManager::new("sqlite::memory:", Default::default()).await?;
let mut builder = AudioManagerBuilder::new()
.languages(languages)