alsa-lib/src/mixer
Takashi Sakamoto 351a237b2d mixer: add documentation about postcondition of removal event processing
PulseAudio and PipeWire seems to appear including careless code to
process events of mixer element in implementation of mixer class.

 * https://lore.kernel.org/alsa-devel/YrbxZ2b+3rIdi7Ut@workstation/

They register own implementation of mixer class. At addition event,
they attach own mixer element into hcontrol element. However at removal
event, they never detach the mixer element from hcontrol element. They
hit assertion in mixer API internal due to unsatisfied postcondition.

This commit adds documentation about postcondition of removal event
processing so that developer for implementation of mixer class easily
realize the way to satisfy the postcondition.

Fixes: https://github.com/alsa-project/alsa-lib/pull/244
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2022-06-27 13:38:25 +02:00
..
bag.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
Makefile.am autotools: update style 2014-02-26 08:16:22 +01:00
mixer.c mixer: add documentation about postcondition of removal event processing 2022-06-27 13:38:25 +02:00
mixer_local.h Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
mixer_simple.h Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
simple.c tlv: implement nearest rounding in snd_tlv_convert_from_dB() for xdir == 0 2020-06-05 17:57:06 +02:00
simple_abst.c snd_dlopen: do not use absolute plugin path for snd_dlopen() calls 2020-06-04 19:09:50 +02:00
simple_none.c mixer: simple - Fix "Capture Volume" and "Capture Switch" being seen as global controls 2021-05-04 18:21:18 +02:00