summaryrefslogtreecommitdiff
path: root/src/pa-sink-ctl.c
diff options
context:
space:
mode:
authorben <benjaminfranzke@googlemail.com>2010-07-13 18:05:05 +0200
committerben <benjaminfranzke@googlemail.com>2010-07-13 18:05:05 +0200
commite81e3842b6c2b9418de5f826452f3aa8f51d6563 (patch)
treefe6e2f5430f3c3eb3611a1cce95d2baae9bdc40e /src/pa-sink-ctl.c
parent5423f68eb39adb4cc0165032efb7d53d38ccd10c (diff)
downloadpa-sink-ctl-e81e3842b6c2b9418de5f826452f3aa8f51d6563.tar.gz
pa-sink-ctl-e81e3842b6c2b9418de5f826452f3aa8f51d6563.tar.bz2
pa-sink-ctl-e81e3842b6c2b9418de5f826452f3aa8f51d6563.zip
add mute support for sinks and inputs
Diffstat (limited to 'src/pa-sink-ctl.c')
-rw-r--r--src/pa-sink-ctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pa-sink-ctl.c b/src/pa-sink-ctl.c
index 1417064..164755b 100644
--- a/src/pa-sink-ctl.c
+++ b/src/pa-sink-ctl.c
@@ -168,6 +168,7 @@ void get_sink_input_info_callback(pa_context *c, const pa_sink_input_info *i, in
input->index = i->index;
input->channels = i->volume.channels;
input->vol = pa_cvolume_avg(&i->volume);
+ input->mute = i->mute;
++(sink_list[sink_num]->input_counter);
}