diff options
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugin.c b/src/plugin.c index 1ee7d35..afd3d30 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -195,7 +195,7 @@ static void context_state_callback(struct pa_context *c, void *userdata) { assert(stream); pa_stream_set_state_callback(stream, stream_state_callback, NULL); - pa_stream_connect_playback(stream, NULL, NULL); + pa_stream_connect_playback(stream, NULL, NULL, 0); break; default: @@ -256,7 +256,7 @@ static void request_func(struct pa_mainloop_api*api, struct pa_io_event *io, int context = pa_context_new(api, t); assert(context); pa_context_set_state_callback(context, context_state_callback, NULL); - pa_context_connect(context, NULL); + pa_context_connect(context, NULL, 1, NULL); break; } |