Makefile fix and vol_perc fix for mute
This commit is contained in:
@ -658,9 +658,7 @@ vol_perc(const char *card)
|
||||
}
|
||||
|
||||
close(afd);
|
||||
if (v == 0) {
|
||||
return smprintf("mute");
|
||||
}
|
||||
|
||||
return smprintf("%d%%", v & 0xff);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user