aboutsummaryrefslogtreecommitdiffstats
path: root/ponymix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ponymix.cc')
-rw-r--r--ponymix.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/ponymix.cc b/ponymix.cc
index 1bd256f..69d13f8 100644
--- a/ponymix.cc
+++ b/ponymix.cc
@@ -86,7 +86,7 @@ static enum Action string_to_action(const char* str) {
try {
return actionmap.at(str);
} catch(std::out_of_range) {
- errx(1, "error: Invalid option specified: %s", str);
+ errx(1, "error: Invalid action specified: %s", str);
}
}
@@ -130,12 +130,13 @@ static Device* string_to_device_or_die(Pulse& ponymix,
static void Print(const Device& device) {
printf("%s %d: %s\n"
" %s\n"
- " Avg. Volume: %d%%\n",
+ " Avg. Volume: %d%%%s\n",
type_to_string(device.Type()),
device.Index(),
device.Name().c_str(),
device.Desc().c_str(),
- device.Volume());
+ device.Volume(),
+ device.Muted() ? " [muted]" : "");
}
static void Print(const Card& card) {