mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 04:35:43 +01:00
Added missing index match
This commit is contained in:
parent
50658ad2e7
commit
8af52519b7
1 changed files with 2 additions and 1 deletions
|
@ -98,7 +98,8 @@ static int soundcard_setup_merge_control(struct ctl_control *cctl, struct ctl_co
|
||||||
if (cctl1->c.id.iface == uctl->c.id.iface &&
|
if (cctl1->c.id.iface == uctl->c.id.iface &&
|
||||||
cctl1->c.id.device == uctl->c.id.device &&
|
cctl1->c.id.device == uctl->c.id.device &&
|
||||||
cctl1->c.id.subdevice == uctl->c.id.subdevice &&
|
cctl1->c.id.subdevice == uctl->c.id.subdevice &&
|
||||||
!strncmp(cctl1->c.id.name, uctl->c.id.name, sizeof(cctl1->c.id.name))) {
|
!strncmp(cctl1->c.id.name, uctl->c.id.name, sizeof(cctl1->c.id.name)) &&
|
||||||
|
cctl1->c.id.index == uctl->c.id.index) {
|
||||||
merge_one_control(cctl1, uctl, cardno);
|
merge_one_control(cctl1, uctl, cardno);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue