pipewire/spa
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
..
examples treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
include module-rtp: add opus encoding 2023-03-12 18:40:36 +01:00
plugins alsa-ucm: Disable old modifiers when switching profiles of same verb 2023-03-20 18:28:10 +01:00
tests treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
tools treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
meson.build bluez5: align audio output of all BAP sinks 2023-03-19 19:18:10 +02:00