mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:35:42 +01:00
amixer: Fix the hctl elem search bug
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
c0f70a0b8e
commit
d61924fd24
1 changed files with 1 additions and 0 deletions
|
@ -1105,6 +1105,7 @@ static int cset(int argc, char *argv[], int roflag, int keep_handle)
|
|||
}
|
||||
return err;
|
||||
}
|
||||
snd_ctl_elem_info_get_id(info, id); /* FIXME: Remove it when hctl find works ok !!! */
|
||||
if (!roflag) {
|
||||
snd_ctl_elem_value_set_id(control, id);
|
||||
if ((err = snd_ctl_elem_read(handle, control)) < 0) {
|
||||
|
|
Loading…
Reference in a new issue