mirror of
https://github.com/alsa-project/alsa-utils
synced 2025-01-03 18:49:47 +01:00
alsactl - Fix wrong restore
Fix a bug in alsactl that restores wrong values for elements with multiple channels (counts).
This commit is contained in:
parent
0629a38f6c
commit
8d7759aa32
1 changed files with 1 additions and 1 deletions
|
@ -1380,7 +1380,7 @@ static int set_control(snd_ctl_t *handle, snd_config_t *control)
|
|||
return -EINVAL;
|
||||
continue;
|
||||
}
|
||||
err = restore_config_value2(handle, info, type, value,
|
||||
err = restore_config_value2(handle, info, type, n,
|
||||
ctl, idx, numid);
|
||||
if (err < 0)
|
||||
return err;
|
||||
|
|
Loading…
Reference in a new issue