From f4d6dba742eda3b32d9140d606b2a5d54bc34d38 Mon Sep 17 00:00:00 2001 From: younix Date: Mon, 12 Jul 2010 11:09:23 +0200 Subject: wip: code cleanup --- pa-sink-ctl.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); + +} -- cgit