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

docs(audio): fix misleading CoreAudio system-audio default doc, drop customer names (#3911)

Louis Beaumont9f7f584a9ae3
diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx
index 9ac938dfe..14b17183c 100644
--- a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx
+++ b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx
@@ -694,8 +694,8 @@ function createSettingsStore() {
// cancellation — so the tap silently captured zeroed buffers on every
// meeting. Users who explicitly want the tap (e.g. to dodge SCK's
// sleep/wake display-enumeration bug) can re-enable it in Settings.
- // Reported by Ruark Ferreira on 2026-04-24 after his v2.4.46 calls
- // kept dropping other participants.
+ // Reported on 2026-04-24 after v2.4.46 calls kept dropping
+ // other participants.
if (!(settings as any).coreaudioTapMigrationV2) {
settings.experimentalCoreaudioSystemAudio = false;
(settings as any).coreaudioTapMigrationV2 = true;
diff --git a/apps/screenpipe-app-tauri/lib/utils/tauri.ts b/apps/screenpipe-app-tauri/lib/utils/tauri.ts
index 939919bdf..8c4808461 100644
--- a/apps/screenpipe-app-tauri/lib/utils/tauri.ts
+++ b/apps/screenpipe-app-tauri/lib/utils/tauri.ts
@@ -67,7 +67,7 @@ async calendarGetEvents(hoursBack: number | null, hoursAhead: number | null) : P
/**
* Reset TCC (privacy) permission for Calendars on this app's bundle ID.
*
- * Why: users (Mike, Jarad, Ruark, Louis's own Mac mini) clicked
+ * Why: multiple users (including Louis's own Mac mini) clicked
* "Fix Calendar Permission" → macOS opened the Calendars privacy pane
* with an EMPTY app list, so they had no way to grant access. Root cause
* is a stale TCC record (dev-build → prod-build reinstall, OS update,
@@ -2376,17 +2376,19 @@ audioDevices: string[];
useSystemDefaultAudio: boolean;
/**
* Experimental: capture System Audio via the CoreAudio Process Tap API
- * (macOS 14.4+) instead of ScreenCaptureKit. Avoids SCK's display
- * enumeration failures after sleep/wake, the GPU/compositor wake
- * overhead, and — most importantly — captures audio that's been
- * routed to a Bluetooth headset via HFP (which SCK can't see; see
- * Ruark Ferreira's 2026-04-24 Zoom call where AirPods-as-input
- * silently routed output away from the SCK-visible mixer).
+ * (macOS 14.4+) instead of ScreenCaptureKit. The tap sidesteps SCK's
+ * display-enumeration failures after sleep/wake and the GPU/compositor
+ * wake overhead, but it cannot see audio rendered through a
+ * VoiceProcessing AudioUnit (Zoom / Google Meet / Microsoft Teams all
+ * use one for echo cancellation), so on meeting audio it silently
+ * captures zeroed buffers even though tap creation succeeds.
*
- * Default `true`: if tap creation fails for any reason (permission,
- * macOS <14.4, OS quirk), stream.rs falls back to the SCK path
- * automatically — so flipping the default on can't regress anyone.
- * Ignored on non-macOS platforms.
+ * Default `false` (see `default_experimental_coreaudio_system_audio`).
+ * SCK captures at the display compositor, which does see VoiceProcessing
+ * output, so it is the right default for anyone on calls. Users who hit
+ * SCK's sleep/wake display-enumeration bug can still opt in; when the tap
+ * is on and creation fails (permission, macOS <14.4, OS quirk), stream.rs
+ * falls back to the SCK path automatically. Ignored on non-macOS platforms.
*/
experimentalCoreaudioSystemAudio?: boolean;
/**
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/calendar.rs b/apps/screenpipe-app-tauri/src-tauri/src/calendar.rs
index 022214f56..7177fd094 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/calendar.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/calendar.rs
@@ -146,7 +146,7 @@ pub async fn calendar_status() -> Result<CalendarStatus, String> {
/// Reset TCC (privacy) permission for Calendars on this app's bundle ID.
///
-/// Why: users (Mike, Jarad, Ruark, Louis's own Mac mini) clicked
+/// Why: multiple users (including Louis's own Mac mini) clicked
/// "Fix Calendar Permission" → macOS opened the Calendars privacy pane
/// with an EMPTY app list, so they had no way to grant access. Root cause
/// is a stale TCC record (dev-build → prod-build reinstall, OS update,
diff --git a/crates/screenpipe-audio/src/core/process_tap.rs b/crates/screenpipe-audio/src/core/process_tap.rs
index 004125a32..47c90e95b 100644
--- a/crates/screenpipe-audio/src/core/process_tap.rs
+++ b/crates/screenpipe-audio/src/core/process_tap.rs
@@ -602,7 +602,7 @@ pub fn spawn_process_tap_capture(
// silent audio (AND the callback is firing, so it's not just that
// the IO proc stalled), rebuild the aggregate once. This catches
// the "tap anchored to BuiltInSpeaker while all app audio is
- // routed to AirPods" failure mode that Ruark hit on v2.4.46 — the
+ // routed to AirPods" failure mode reported on v2.4.46. The
// tap runs happily, the callback fires, but every buffer is
// zeros because the aggregate's sub-device has no signal and the
// global-tap → aggregate delivery path stays mute. See the
diff --git a/crates/screenpipe-config/src/recording.rs b/crates/screenpipe-config/src/recording.rs
index a8f58ba9e..b4393e300 100644
--- a/crates/screenpipe-config/src/recording.rs
+++ b/crates/screenpipe-config/src/recording.rs
@@ -82,17 +82,19 @@ pub struct RecordingSettings {
pub use_system_default_audio: bool,
/// Experimental: capture System Audio via the CoreAudio Process Tap API
- /// (macOS 14.4+) instead of ScreenCaptureKit. Avoids SCK's display
- /// enumeration failures after sleep/wake, the GPU/compositor wake
- /// overhead, and — most importantly — captures audio that's been
- /// routed to a Bluetooth headset via HFP (which SCK can't see; see
- /// Ruark Ferreira's 2026-04-24 Zoom call where AirPods-as-input
- /// silently routed output away from the SCK-visible mixer).
+ /// (macOS 14.4+) instead of ScreenCaptureKit. The tap sidesteps SCK's
+ /// display-enumeration failures after sleep/wake and the GPU/compositor
+ /// wake overhead, but it cannot see audio rendered through a
+ /// VoiceProcessing AudioUnit (Zoom / Google Meet / Microsoft Teams all
+ /// use one for echo cancellation), so on meeting audio it silently
+ /// captures zeroed buffers even though tap creation succeeds.
///
- /// Default `true`: if tap creation fails for any reason (permission,
- /// macOS <14.4, OS quirk), stream.rs falls back to the SCK path
- /// automatically — so flipping the default on can't regress anyone.
- /// Ignored on non-macOS platforms.
+ /// Default `false` (see `default_experimental_coreaudio_system_audio`).
+ /// SCK captures at the display compositor, which does see VoiceProcessing
+ /// output, so it is the right default for anyone on calls. Users who hit
+ /// SCK's sleep/wake display-enumeration bug can still opt in; when the tap
+ /// is on and creation fails (permission, macOS <14.4, OS quirk), stream.rs
+ /// falls back to the SCK path automatically. Ignored on non-macOS platforms.
#[serde(
rename = "experimentalCoreaudioSystemAudio",
default = "default_experimental_coreaudio_system_audio"
diff --git a/crates/screenpipe-db/tests/db.rs b/crates/screenpipe-db/tests/db.rs
index 1d3dae9dd..584ec1b98 100644
--- a/crates/screenpipe-db/tests/db.rs
+++ b/crates/screenpipe-db/tests/db.rs
@@ -110,7 +110,7 @@ mod tests {
async fn test_recent_output_audio_ignores_input_chunk() {
let db = setup_test_db().await;
- db.insert_audio_chunk("Ruark’s AirPods (input)_recent.mp4", Some(Utc::now()))
+ db.insert_audio_chunk("AirPods (input)_recent.mp4", Some(Utc::now()))
.await
.unwrap();
diff --git a/crates/screenpipe-db/tests/meeting_transcript_dedup_test.rs b/crates/screenpipe-db/tests/meeting_transcript_dedup_test.rs
index 551a404d6..8e8264a72 100644
--- a/crates/screenpipe-db/tests/meeting_transcript_dedup_test.rs
+++ b/crates/screenpipe-db/tests/meeting_transcript_dedup_test.rs
@@ -32,7 +32,7 @@ mod tests {
fn input_device() -> AudioDevice {
AudioDevice {
- name: "Ruark’s AirPods".to_string(),
+ name: "AirPods".to_string(),
device_type: DeviceType::Input,
}
}
@@ -71,7 +71,7 @@ mod tests {
"screenpipe-cloud",
Some("nova-3"),
&format!("deepgram:0:{}", i * 1000),
- "Ruark’s AirPods",
+ "AirPods",
"input",
None,
&format!("me talking part {i}"),
@@ -109,7 +109,7 @@ mod tests {
// SHOULD still be deduped away (same direction, real duplicate).
let in_chunk = db
.insert_audio_chunk(
- "Ruark’s AirPods (input)_dupe.mp4",
+ "AirPods (input)_dupe.mp4",
Some(base + Duration::seconds(4)),
)
.await
diff --git a/crates/screenpipe-db/tests/timeline_live_meeting_test.rs b/crates/screenpipe-db/tests/timeline_live_meeting_test.rs
index c98840f5a..8bebe51b0 100644
--- a/crates/screenpipe-db/tests/timeline_live_meeting_test.rs
+++ b/crates/screenpipe-db/tests/timeline_live_meeting_test.rs
@@ -280,7 +280,7 @@ mod timeline_live_meeting_tests {
let base = Utc::now();
let mic_chunk_id = db
- .insert_audio_chunk("Ruark's AirPods (input)_meeting.mp4", Some(base))
+ .insert_audio_chunk("AirPods (input)_meeting.mp4", Some(base))
.await
.unwrap();
let meeting_id = db