diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/polypsink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/polypsink.c b/src/polypsink.c index bc37252..70f5b41 100644 --- a/src/polypsink.c +++ b/src/polypsink.c @@ -294,7 +294,7 @@ static void create_stream(GstPolypSink *polypsink) { pa_stream_set_state_callback(polypsink->stream, stream_state_callback, polypsink); pa_stream_set_write_callback(polypsink->stream, stream_write_callback, polypsink); - pa_stream_connect_playback(polypsink->stream, NULL, NULL); + pa_stream_connect_playback(polypsink->stream, NULL, NULL, PA_VOLUME_NORM); } static void create_context(GstPolypSink *polypsink) { @@ -309,7 +309,7 @@ static void create_context(GstPolypSink *polypsink) { g_assert(polypsink->context); pa_context_set_state_callback(polypsink->context, context_state_callback, polypsink); - pa_context_connect(polypsink->context, NULL); + pa_context_connect(polypsink->context, NULL, 1, NULL); } static void destroy_stream(GstPolypSink *polypsink) { |