diff options
author | Simon Gomizelj <simongmzlj@gmail.com> | 2012-08-11 01:49:28 -0400 |
---|---|---|
committer | Simon Gomizelj <simongmzlj@gmail.com> | 2012-08-11 03:29:54 -0400 |
commit | 1992d58b5005cb9edbfda01a691119ba2db12d2c (patch) | |
tree | 7df9f281d8e42f53110b05188aeb6935c1bc97de | |
parent | ef12a05e776bca757142ebe5cc51c94b3752e47f (diff) | |
download | mirror-ponymix-1992d58b5005cb9edbfda01a691119ba2db12d2c.tar.gz mirror-ponymix-1992d58b5005cb9edbfda01a691119ba2db12d2c.tar.bz2 mirror-ponymix-1992d58b5005cb9edbfda01a691119ba2db12d2c.zip |
add [Muted] to muted devices when printing
-rw-r--r-- | pulsemix.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) |