pipewire/spa/plugins/alsa/acp
Wim Taymans 3dce92e580 alsa-ucm: Add enable, disable, status helpers for devices
Right now manipulating device status is done inline once while setting a
port. However, we will need to reuse this code to disable conflicting
devices of a device we want to enable. Split it into enable and disable
helper functions.

There is another issue with the device enable logic, where trying to
disabling an already disabled device sometimes fails. To avoid that,
implement a status helper and check if the device we want to enable is
already enabled/disabled before trying to do so.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
2023-03-20 15:02:41 +01:00
..
acp.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
acp.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
alsa-mixer.c acp: add debug for open and close 2022-08-05 12:31:28 +02:00
alsa-mixer.h Revert "acp: sync with pulseaudio" 2022-07-11 10:03:01 +02:00
alsa-ucm.c alsa-ucm: Add enable, disable, status helpers for devices 2023-03-20 15:02:41 +01:00
alsa-ucm.h alsa-ucm: Make modifiers track conflicting/supported devices as idxsets 2023-03-20 14:56:14 +01:00
alsa-util.c alsa-mixer: allow to re-attach the mixer control element 2023-03-20 13:19:51 +01:00
alsa-util.h acp: add debug for open and close 2022-08-05 12:31:28 +02:00
array.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
card.h acp: add option to set Pro Audio channels 2023-01-31 15:59:39 +01:00
channelmap.h acp: don't mix non-AUX and AUX channels 2022-06-02 12:54:04 +02:00
compat.c spa: alsa: Fix build warning 2021-10-25 07:26:15 +00:00
compat.h Revert "acp: sync with pulseaudio" 2022-07-11 10:03:01 +02:00
conf-parser.c config.h is a local header, not a system one 2021-06-10 09:04:16 +10:00
conf-parser.h alsa-acp: Add libacp based card device 2020-07-06 12:20:09 +02:00
device-port.h Fix typos 2021-04-30 07:40:20 +00:00
dynarray.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
hashmap.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
idxset.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
llist.h alsa-acp: Add libacp based card device 2020-07-06 12:20:09 +02:00
meson.build treewide: meson.build: use dependency variable for SPA 2021-12-28 18:34:06 +01:00
proplist.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
volume.h acp: add support for soft volume 2020-07-06 17:22:42 +02:00