pipewire/spa/plugins
Hector Martin 9c868740c2 alsa: ucm: Fix spurious mixer path removal on initial profile set
The code that removes the mixer path if probing fails can be called in
the path that sets a non-off device profile on hotplug *before*
card->active_profile is updated, which results in spuriously removing
the mixer path. By this point, context->ucm->active_verb would be set
to the same as the profile name, so we can use that instead to avoid
the issue.

On Apple Silicon machines with the UCM profiles in the Asahi Linux repo,
this manifests as the headphones jack having hardware volume controls
*only* if PA is started with headphones connected and until they are
disconnected. Hotplugs end up triggering the bad codepath, and it falls
back to software volume (which is particularly a problem when the
hardware volume happens to be very low or 0 at that point).

Signed-off-by: Hector Martin <marcan@marcan.st>
Link: 3e038c6d88
2023-12-04 15:34:48 +00:00
..
aec aec: support both webrtc versions 2023-09-14 15:35:40 +02:00
alsa alsa: ucm: Fix spurious mixer path removal on initial profile set 2023-12-04 15:34:48 +00:00
audioconvert audioadapter: don't clear format when EnumFormat changes 2023-10-16 18:23:49 +02:00
audiomixer audioconvert: avoid unaligned writes and left shift of neagtives 2023-10-15 21:12:23 +02:00
audiotestsrc node: update the duration/rate from the target 2023-03-23 18:39:27 +01:00
avb spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
bluez5 Bluez5: backend-native: HSP AG release SCO link on AT+CKPD=200 2023-11-29 15:43:22 +00:00
control tweak number of buffers 2023-10-13 14:00:29 +02:00
ffmpeg treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
jack tweak number of buffers 2023-10-13 14:00:29 +02:00
libcamera libcamera: add latency param query 2023-11-20 17:51:27 +01:00
support evl: add fds to pollfd from rt thread 2023-11-24 11:58:28 +01:00
test spa: deduplicate test-helper.h 2023-10-15 16:20:17 +00:00
v4l2 spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
videoconvert spa: remove unnecessary indirection for some spa_log_topics 2023-10-06 13:08:24 +00:00
videotestsrc videotestsrc: implement impl_node_set_io to fix segfault while loading 2023-10-26 15:54:10 +02:00
volume volume: Fix inverted check for buffer validity 2023-03-31 08:19:07 +00:00
vulkan vulkan: fix uninitialized writeDescriptor 2023-08-31 10:08:06 +00:00
meson.build build: Restructure vulkan dependency handling and assert headers 2023-10-15 20:32:57 +00:00