pipewire/spa/plugins/alsa
Wim Taymans ebe6f8b51a alsa-ucm: Disable old modifiers when switching profiles of same verb
While switching profiles of the same UCM verb, existing code first
disables devices that are only on the first profile to avoid conflicts.
However, it only disables devices, not modifiers. Even worse, modifiers
which have PlaybackPCM/CapturePCM are incorrectly treated as devices and
result in a segmentation fault.

Check what we are disabling, and call the appropriate disable function
for both devices and modifiers. Modifiers are disabled before devices,
because _dismod calls fail when the modifier's supported devices are
disabled.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
2023-03-20 18:28:10 +01:00
..
acp alsa-ucm: Disable old modifiers when switching profiles of same verb 2023-03-20 18:28:10 +01:00
mixer alsa-profiles: rename mappings for Xonar SE 2023-03-20 17:56:33 +01:00
90-pipewire-alsa.rules Add support for GSX 1000 v2 2023-01-13 12:19:30 +00:00
acp-tool.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-acp-device.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-compress-offload-sink.c spa: alsa: fix spa_log_trace_fp() args 2023-02-25 20:17:51 +01:00
alsa-pcm-device.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-pcm-sink.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-pcm-source.c alsa: fix uninitialized value 2023-03-16 13:02:54 +01:00
alsa-pcm.c alsa: improve target delay in ALSA 2023-03-03 14:59:38 +01:00
alsa-pcm.h alsa: improve target delay in ALSA 2023-03-03 14:59:38 +01:00
alsa-seq-bridge.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-seq.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-seq.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-udev.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
compress-offload-api.c alsa-compress-offload-sink: major sink rework 2023-02-24 14:15:13 +01:00
compress-offload-api.h alsa-compress-offload-sink: major sink rework 2023-02-24 14:15:13 +01:00
meson.build alsa-compress-offload-sink: major sink rework 2023-02-24 14:15:13 +01:00
test-hw-params.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-timer.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00