mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 08:26:31 +01:00
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:
parent
c9e9a79c6c
commit
2c753a85a7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
if (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;
|
||||
}
|
||||
if (*filter == NULL) {
|
||||
|
|
Loading…
Reference in a new issue