fix(audio): capture all of an app's streams; fix loopback stereo ports #4

Merged
adam merged 1 commit from fix/pipewire-per-app-audio into master 2026-07-03 16:01:49 -04:00
Owner

Two Linux per-app audio bugs, both confirmed against a live PipeWire graph:

  • Games/apps often open several audio streams (e.g. Wine games), so the picker
    listed duplicates and capturing a single node missed the sound. Group audio
    sources by process id (one picker entry per app) and link every output port
    of the whole app group to the loopback.
  • pw-loopback creates stereo input_FL/input_FR ports, but the code waited for
    input_MONO, which never appears — so it timed out and linked nothing. Resolve
    the loopback's real input ports via pw-dump and map app FL/FR to them.
Two Linux per-app audio bugs, both confirmed against a live PipeWire graph: - Games/apps often open several audio streams (e.g. Wine games), so the picker listed duplicates and capturing a single node missed the sound. Group audio sources by process id (one picker entry per app) and link every output port of the whole app group to the loopback. - pw-loopback creates stereo input_FL/input_FR ports, but the code waited for input_MONO, which never appears — so it timed out and linked nothing. Resolve the loopback's real input ports via pw-dump and map app FL/FR to them.
Two Linux per-app audio bugs, both confirmed against a live PipeWire graph:

- Games/apps often open several audio streams (e.g. Wine games), so the picker
  listed duplicates and capturing a single node missed the sound. Group audio
  sources by process id (one picker entry per app) and link every output port
  of the whole app group to the loopback.
- pw-loopback creates stereo input_FL/input_FR ports, but the code waited for
  input_MONO, which never appears — so it timed out and linked nothing. Resolve
  the loopback's real input ports via pw-dump and map app FL/FR to them.
adam merged commit f7dc85a111 into master 2026-07-03 16:01:49 -04:00
adam deleted branch fix/pipewire-per-app-audio 2026-07-03 16:01:49 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
adam/sunburn-desktop!4
No description provided.