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

feat(audio): use mediar-ai/cpal-1 for unified cidre version

Louis Beaumont776e2d9507da
diff --git a/Cargo.lock b/Cargo.lock
index 05505a2bd..cb67e9f8b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1129,31 +1129,16 @@ dependencies = [
"half",
]
-[[package]]
-name = "cidre"
-version = "0.4.0"
-source = "git+https://github.com/yury/cidre.git?rev=f05c428#f05c4288f9870c9fab53272ddafd6ec01c7b2dbf"
-dependencies = [
- "cidre-macros 0.1.0 (git+https://github.com/yury/cidre.git?rev=f05c428)",
- "parking_lot",
- "tokio",
-]
-
[[package]]
name = "cidre"
version = "0.7.0"
source = "git+https://github.com/mediar-ai/cidre.git#5ec1e32f72bee75bfb33d1e73610c3c22d97733b"
dependencies = [
- "cidre-macros 0.1.0 (git+https://github.com/mediar-ai/cidre.git)",
+ "cidre-macros",
"parking_lot",
"tokio",
]
-[[package]]
-name = "cidre-macros"
-version = "0.1.0"
-source = "git+https://github.com/yury/cidre.git?rev=f05c428#f05c4288f9870c9fab53272ddafd6ec01c7b2dbf"
-
[[package]]
name = "cidre-macros"
version = "0.1.0"
@@ -1520,10 +1505,10 @@ dependencies = [
[[package]]
name = "cpal"
version = "0.15.3"
-source = "git+https://github.com/Kree0/cpal.git?branch=master#e851e41b6e4f2318455b109b14dd5a64db3ac47a"
+source = "git+https://github.com/mediar-ai/cpal-1.git?branch=master#a262741cc778f071888c9dd57bda3e87fa5cf240"
dependencies = [
"alsa",
- "cidre 0.4.0",
+ "cidre",
"core-foundation-sys",
"coreaudio-rs",
"dasp_sample",
@@ -6558,7 +6543,7 @@ name = "sck-rs"
version = "0.1.0"
source = "git+https://github.com/louis030195/sck-rs#e09225902d7ea977ca0ebda336bb01fbac3e7948"
dependencies = [
- "cidre 0.7.0",
+ "cidre",
"image",
"once_cell",
"thiserror 1.0.69",
@@ -6587,7 +6572,7 @@ dependencies = [
"bytes",
"chrono",
"clap",
- "cpal 0.15.3 (git+https://github.com/Kree0/cpal.git?branch=master)",
+ "cpal 0.15.3 (git+https://github.com/mediar-ai/cpal-1.git?branch=master)",
"criterion",
"crossbeam",
"dashmap",
@@ -6805,7 +6790,7 @@ dependencies = [
"atspi-proxies",
"base64 0.22.1",
"chrono",
- "cidre 0.7.0",
+ "cidre",
"clap",
"core-foundation 0.10.0",
"criterion",
diff --git a/screenpipe-audio/Cargo.toml b/screenpipe-audio/Cargo.toml
index be8277387..0e4b0b674 100644
--- a/screenpipe-audio/Cargo.toml
+++ b/screenpipe-audio/Cargo.toml
@@ -19,7 +19,8 @@ serde_json = "1.0"
oasgen = { workspace = true }
# Cross-platform audio capture
-cpal = { git = "https://github.com/Kree0/cpal.git", branch = "master" }
+# Using mediar-ai fork with unified cidre version (compatible with sck-rs)
+cpal = { git = "https://github.com/mediar-ai/cpal-1.git", branch = "master" }
# Wav encoding
hound = "3.5"