pipewire/spa
Wim Taymans 815e8c8fa0 alsa-mixer: fix the re-attach code for the mixer control element
The new helem must be tracked and old helem must be cleared
to make the code work properly. Introduce the pointer to helem
as the private value for melem and add the necessary code.

Also, add a check for the duplicate mixer elements. The duplicate
mixer element invokes the abort check in alsa-lib. Print a warning
instead and handle the exit gracefully.

Fixes: def8eb074 ("alsa-mixer: allow to re-attach the mixer control element")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2023-03-20 17:47:52 +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-mixer: fix the re-attach code for the mixer control element 2023-03-20 17:47:52 +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