diff options
Diffstat (limited to 'src/sound-service.c')
-rw-r--r-- | src/sound-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound-service.c b/src/sound-service.c index 31e7b82..cb21e71 100644 --- a/src/sound-service.c +++ b/src/sound-service.c @@ -150,8 +150,8 @@ static void context_state_callback(pa_context *c, void *userdata) { g_debug("PA daemon is ready"); pa_context_set_subscribe_callback(c, subscribed_events_callback, userdata); pa_operation_unref(pa_context_get_sink_info_list(c, retrieve_complete_sink_list, NULL)); + pa_operation_unref(pa_context_subscribe(c, PA_SUBSCRIPTION_MASK_SINK, NULL, NULL)); pa_operation_unref(pa_context_subscribe(c, PA_SUBSCRIPTION_MASK_SINK_INPUT, NULL, NULL)); - //pa_operation_unref(pa_context_subscribe(c, PA_SUBSCRIPTION_MASK_SINK, NULL, NULL)); break; } } |