summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryounix <web2p10@wemelug.de>2010-07-12 11:09:23 +0200
committeryounix <web2p10@wemelug.de>2010-07-12 11:09:23 +0200
commitf4d6dba742eda3b32d9140d606b2a5d54bc34d38 (patch)
tree8f616984e5e81b0b1b26ad8623585952b0ec292f
parent60d15a5301288b71c04fbb65b6674be69c7a5d99 (diff)
downloadpa-sink-ctl-f4d6dba742eda3b32d9140d606b2a5d54bc34d38.tar.gz
pa-sink-ctl-f4d6dba742eda3b32d9140d606b2a5d54bc34d38.tar.bz2
pa-sink-ctl-f4d6dba742eda3b32d9140d606b2a5d54bc34d38.zip
wip: code cleanup
-rw-r--r--pa-sink-ctl.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/pa-sink-ctl.c b/pa-sink-ctl.c
index 2322b50..5fe67c1 100644
--- a/pa-sink-ctl.c
+++ b/pa-sink-ctl.c
@@ -184,8 +184,12 @@ void quit(void) {
*/
void change_callback(pa_context* c, int success, void* userdate) {
- sink_list_reset(sink_list, &sink_counter);
// get information about sinks
pa_operation_unref(pa_context_get_sink_input_info_list(context, get_sink_input_info_callback, NULL));
}
+
+void collect_all_infomation(void) {
+ sink_list_reset(sink_list, &sink_counter);
+
+}