pipewire/spa/plugins
Masum Reza cf8a0b012f alsa: acp: don’t override user-selected port on availability changes
ACP was re-selecting the “best” port on every port availability event,
even when a port was already explicitly selected by the user. This
differs from PulseAudio’s behavior, where port switching decisions are
left to higher-level policy.

This caused issues on devices where Line Out (speakers) and Headphones
share the same analog interface: when headphones are plugged in, ACP
would immediately switch away from the user-selected Line Out, or end up
in a state where no sound is produced despite selecting speakers explicitly from
clients like pwvucontrol.

Fix this by only re-evaluating and switching ports when:
  - no active port is currently selected, or
  - the active port has become unavailable

This preserves manual user choices and prevents ACP from fighting client
port selections during route activation.

Additionally, adjust ALSA mixer paths to better separate Line Out and
Headphones behavior:
  - Disable Line Out controls in the headphones path
  - Add explicit Line Out and Auto-Mute Mode handling in the lineout path

Together, these changes align PipeWire’s behavior more closely with
PulseAudio and fix cases where selecting speakers while headphones are
plugged results in no audio output.

Signed-off-by: John Titor <masumrezarock100@gmail.com>
2026-04-21 17:15:05 +02:00
..
aec
alsa alsa: acp: don’t override user-selected port on availability changes 2026-04-21 17:15:05 +02:00
audioconvert
audiomixer
audiotestsrc
avb
bluez5 bluez5: more MT7925 quirks 2026-04-19 19:15:23 +03:00
control
ffmpeg
filter-graph filter-graph: allow negative Gain in mixer 2026-04-16 10:18:47 +02:00
jack
libcamera
support
test
v4l2
videoconvert
videotestsrc
volume
vulkan
meson.build