summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Klemkow <web2p10@wemelug.de>2010-07-12 20:58:00 +0200
committerJan Klemkow <web2p10@wemelug.de>2010-07-12 20:58:00 +0200
commit9bf6d50010991bfe42465ab0b8cf298bad698d49 (patch)
tree9850b1e952462b98f5134ec042012801f2c1e182
parent3d1b440f16fd6e27944ceb0cb3d8082690ccd693 (diff)
downloadpa-sink-ctl-9bf6d50010991bfe42465ab0b8cf298bad698d49.tar.gz
pa-sink-ctl-9bf6d50010991bfe42465ab0b8cf298bad698d49.tar.bz2
pa-sink-ctl-9bf6d50010991bfe42465ab0b8cf298bad698d49.zip
interface: add volume output
-rw-r--r--src/interface.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interface.c b/src/interface.c
index 04979f0..8c1c8b6 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -86,6 +86,8 @@ void print_sink_list(void) {
print_volume(sink_input_list[i]->vol, y+i);
}*/
+// clear();
+// refresh();
}
void print_input_list(int sink_num) {
@@ -103,6 +105,8 @@ void print_input_list(int sink_num) {
if (chooser_sink == sink_num && chooser_input == i)
wattroff(menu_win, A_REVERSE);
+
+ print_volume(sink_list[sink_num]->input_list[i]->vol, offset + i);
}
}