]> git.alsa-project.org Git - alsa-lib.git/commit
control: remap - fix numid lookup issue master
authorJaroslav Kysela <perex@perex.cz>
Tue, 3 Feb 2026 16:46:02 +0000 (17:46 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 3 Feb 2026 16:46:02 +0000 (17:46 +0100)
commit166407dae4c91583aff43624ce1eafb8695a4482
treea23d6da9b948cf5150a14a5fbdeba295fb551f59
parent5f7fe33002d2d98d84f72e381ec2cccc0d5d3d40
control: remap - fix numid lookup issue

The 'amixer controls' and 'amixer cget numid=' combo was not working
correctly when the remapping was active. This assert was trigerred:

amixer: control.c:427: snd_ctl_elem_info: Assertion `ctl && info && (info->id.name[0] || info->id.numid)' failed

All elements must be loaded and mapping created to build
the numid -> fullid link.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/control/control_remap.c