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: cpal deps

Louis Beaumont90d6bf5f079e
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml
index b367f28a8..1c1630af6 100644
--- a/.github/workflows/release-cli.yml
+++ b/.github/workflows/release-cli.yml
@@ -69,7 +69,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get update
- sudo apt-get install -y libavformat-dev libavfilter-dev libavdevice-dev ffmpeg libasound2-dev
+ sudo apt-get install -y libavformat-dev libavfilter-dev libavdevice-dev ffmpeg libasound2-dev libgdk3-dev
- name: Set up Rust
uses: actions-rs/toolchain@v1
diff --git a/screenpipe-audio/Cargo.toml b/screenpipe-audio/Cargo.toml
index ffd710577..b86d5c6d1 100644
--- a/screenpipe-audio/Cargo.toml
+++ b/screenpipe-audio/Cargo.toml
@@ -17,7 +17,7 @@ serde_json = "1.0"
# Cross-platform audio capture
# cpal = "0.15.2"
# Temporary hack check https://github.com/RustAudio/cpal/pull/894
-cpal = { git = "https://github.com/Kree0/cpal.git", rev = "dfca186" }
+cpal = { git = "https://github.com/louis030195/cpal-d.git", rev = "6751589" }
# Wav encoding
hound = "3.5"
diff --git a/screenpipe-vision/src/core.rs b/screenpipe-vision/src/core.rs
index 788ece05d..17e979448 100644
--- a/screenpipe-vision/src/core.rs
+++ b/screenpipe-vision/src/core.rs
@@ -45,8 +45,6 @@ pub async fn continuous_capture(
interval: Duration,
save_text_files_flag: bool,
) {
- let zz = Monitor::all().unwrap();
- println!("MONITORSSS: {:?}", zz);
let monitor = Monitor::all().unwrap().first().unwrap().clone(); // Simplified monitor retrieval
let previous_text_json = Arc::new(Mutex::new(None));
let ocr_task_running = Arc::new(AtomicBool::new(false));