use new master control name

This commit is contained in:
Alexandre Ratchov 2015-03-16 12:15:26 +01:00
parent b3a8f99047
commit 6b0127334d
1 changed files with 2 additions and 2 deletions

View File

@ -65,8 +65,8 @@ mixer_ondesc(void *unused, struct siomix_desc *desc, int val)
return;
if (master_found)
return;
if (strcmp(desc->chan0.str, "master0") == 0 &&
strcmp(desc->grp, "softvol") == 0) {
if (strcmp(desc->chan0.str, "sndiod0") == 0 &&
strcmp(desc->grp, "level") == 0) {
master_found = 1;
master_addr = desc->addr;
master_val = val;