summaryrefslogtreecommitdiff
path: root/src/pa-sink-ctl.c
diff options
context:
space:
mode:
authorben <benjaminfranzke@googlemail.com>2010-07-13 16:28:36 +0200
committerben <benjaminfranzke@googlemail.com>2010-07-13 16:28:36 +0200
commit803b7b24229c42cd9d5eee8c1da166382a321d5c (patch)
tree14a9c3f52e3134ff7a57deef85f504f106e140fb /src/pa-sink-ctl.c
parent54c748fc6c1ceb0e3602482ab29f1e4e523d0b77 (diff)
downloadpa-sink-ctl-803b7b24229c42cd9d5eee8c1da166382a321d5c.tar.gz
pa-sink-ctl-803b7b24229c42cd9d5eee8c1da166382a321d5c.tar.bz2
pa-sink-ctl-803b7b24229c42cd9d5eee8c1da166382a321d5c.zip
sink_inputs volume made changable
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 42ebc07..fce5a84 100644
--- a/src/pa-sink-ctl.c
+++ b/src/pa-sink-ctl.c
@@ -164,6 +164,7 @@ void get_sink_input_info_callback(pa_context *c, const pa_sink_input_info *i, in
sink_input_info* input = sink_list[sink_num]->input_list[counter];
input->name = strdup(pa_proplist_gets(i->proplist, "application.name"));
input->index = i->index;
+ input->channels = i->volume.channels;
input->vol = pa_cvolume_avg(&i->volume);
++(sink_list[sink_num]->input_counter);