alsa-lib/src
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
..
alisp alisp: add the missing include 2019-03-15 13:16:20 +01:00
conf conf: vc4-hdmi: use a proper hdmi pcm, fix broken default pcm 2022-05-19 17:13:59 +02:00
control control: eld - fix the decoding for older hw 2022-06-06 12:14:24 +02:00
hwdep conf: introduce snd_config_get_card() function 2021-02-26 21:08:28 +01:00
mixer mixer: add documentation about postcondition of removal event processing 2022-06-27 13:38:25 +02:00
pcm pcm: share plugin: handle -EINTR 2022-06-27 13:36:36 +02:00
rawmidi rawmidi: fix the params_mode check condition in snd_rawmidi_tread() 2022-06-26 16:07:56 +02:00
seq seq: fix snd_seq_parse_address() 2021-05-26 17:29:48 +02:00
timer timer: remove dead code in _snd_timer_hw_open() 2021-06-02 19:50:17 +02:00
topology src/topology/parser.c: drop duplicate safe_strtol_base 2022-01-01 17:50:27 +01:00
ucm ucm: list also hardware configs (hw:X) in uc_mgr_scan_master_configs() fcn 2022-06-16 18:03:03 +02:00
async.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
conf.c conf: Use ino64_t to save and compare inode numbers 2022-06-05 10:24:26 +02:00
confeval.c conf: fix the device parsing when arguments has no defaults 2021-12-09 10:15:47 +01:00
confmisc.c conf: snd_config_get_card() remove unused assignment 2021-06-03 07:29:11 +02:00
dlmisc.c dlmisc.c: Avoid double unlock in snd_dlobj_cache_get0() 2021-10-07 16:52:56 +02:00
error.c add snd_strlcpy() and use it everywhere 2019-03-25 16:46:05 +01:00
input.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
Makefile.am conf: add possibility to evaluate simple integer math expressions 2021-11-30 11:33:35 +01:00
names.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
output.c output: Add snd_output_buffer_steal() function 2021-04-13 09:23:06 +02:00
shmarea.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
socket.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
userfile.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
Versions.in conf: fix the export of safe_strto* functions from libasound 2022-01-01 19:26:48 +01:00