alsactl: snd_ctl_elem_id_compare was renamed to snd_ctl_elem_id_compare_set

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2021-03-23 17:52:09 +01:00
parent c9e9a79c6c
commit 2c753a85a7

View file

@ -52,7 +52,7 @@ static int clean_one_control(snd_ctl_t *handle, snd_ctl_elem_id_t *elem_id,
dbg("Application control \"%s\" found.", s); dbg("Application control \"%s\" found.", s);
if (filter) { if (filter) {
for (; *filter; filter++) { for (; *filter; filter++) {
if (snd_ctl_elem_id_compare(elem_id, *filter) == 0) if (snd_ctl_elem_id_compare_set(elem_id, *filter) == 0)
break; break;
} }
if (*filter == NULL) { if (*filter == NULL) {