Makefile fix and vol_perc fix for mute
This commit is contained in:
parent
a3cb24c438
commit
3f976aabc0
2 changed files with 2 additions and 4 deletions
|
@ -658,9 +658,7 @@ vol_perc(const char *card)
|
|||
}
|
||||
|
||||
close(afd);
|
||||
if (v == 0) {
|
||||
return smprintf("mute");
|
||||
}
|
||||
|
||||
return smprintf("%d%%", v & 0xff);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue