hex/tests
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
..
fixtures feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
golden labs: choose meeting audio (one app or one output device) (#2724) 2026-11-24 17:41:26 -05:00
keyboard_layout.rs Rebuild the keyboard layout snapshot when the input source changes (t1304) (#1307) 2026-11-04 10:47:16 -08:00
meetings_mcp.rs Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00