Makefile fix and vol_perc fix for mute

This commit is contained in:
Aaron Marcher committed 2017-01-09 12:05:29 +01:00
1 parent a3cb24c438
commit 3f976aabc0
2 files changed
+2 -4

No files matched your search

+1 -3
View File
@@ -658,9 +658,7 @@ vol_perc(const char *card)
}
close(afd);
if (v == 0) {
return smprintf("mute");
}
return smprintf("%d%%", v & 0xff);
}