hex/src/labs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 7364c058da
labs: choose meeting audio (one app or one output device) (#2724)
Labs › Choose meeting audio adds a Computer audio row to Meetings › Settings: all computer audio, one output device, or one app playing audio, read by each OS capture source as it opens and on its route check, so a change applies mid-recording. A chosen source records silence while it is missing and never falls back to all audio.

macOS: Core Audio process taps (per app or with a device UID), Windows: WASAPI process loopback (Windows 10 2004+) and single-endpoint loopback, Linux: PipeWire node and sink targets.

Review fixes: one long-lived thread owns pw-dump, restarts it after a short backing-off wait when it ends, forgets its graph until the next dump answers, and keeps origin/dev's answers for call detection; a chosen app taps every Core Audio process it has, a tap that should be playing but never delivers is rebuilt on a backing-off schedule, and a Windows root is retried on its own thread while the others keep recording, never adopting a restarted stream whose worker already failed; Windows names an app by the process its WebView2 helpers belong to, lists WebView2 helpers with no host as nothing, and reads process start times only for the app listing; Linux adds and removes an app's pw-record captures in place, keeps them when the graph cannot be read, starts a fresh stall window for a capture that appears after silence, and sizes its queue for streams that start later; every source notices a changed choice on its route check; a chosen source needs System Audio Recording consent on macOS; Hex's own playback never lists as an app; a sink pw-record cannot name is skipped once per name, not once per read.

Also makes the Linux playing-app listing independent of pw-dump order: a browser whose first stream reports no application.name kept whichever name the hash map yielded first, which flaked running_output_streams_name_their_apps_and_node_targets and could show "chrome" instead of "Google Chrome".
2026-11-24 17:41:26 -05:00
..
card.rs labs: choose meeting audio (one app or one output device) (#2724) 2026-11-24 17:41:26 -05:00
cli.rs refactor(core): simplify engine slot, output plan, labs, updater, audio, and onboarding view (#2627) 2026-11-23 19:38:36 -08:00
description.rs labs: choose meeting audio (one app or one output device) (#2724) 2026-11-24 17:41:26 -05:00
feature.rs labs: choose meeting audio (one app or one output device) (#2724) 2026-11-24 17:41:26 -05:00
gates.rs labs: choose meeting audio (one app or one output device) (#2724) 2026-11-24 17:41:26 -05:00
group.rs refactor(labs): unify Labs feature registry and runtime switch bank (#2493) 2026-11-22 23:14:48 -08:00
web.rs meetings: stop every call recording lab on windows and linux (#2580) 2026-11-23 16:14:06 -05:00