aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pulsemix.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pulsemix.c b/pulsemix.c
index ed63cbd..2046f48 100644
--- a/pulsemix.c
+++ b/pulsemix.c
@@ -287,8 +287,9 @@ static int mute(struct pulseaudio_t *pulse, struct io_t *dev)
static void print(struct io_t *dev)
{
- printf("%s %2d: %s\n %s\n Avg. Volume: %d%%\n", dev->pp_name,
- dev->idx, dev->name, dev->desc, dev->volume_percent);
+ printf("%s %2d: %s\n %s\n Avg. Volume: %d%% %s\n", dev->pp_name,
+ dev->idx, dev->name, dev->desc, dev->volume_percent,
+ dev->mute ? "[Muted]" : "");
}
static void print_all(struct pulseaudio_t *pulse)