From 16d8cdb78f70d967547e329279100a8640889e13 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 21 Sep 2004 17:45:32 +0000 Subject: update to polypaudio 0.5 git-svn-id: file:///home/lennart/svn/public/gst-pulse/trunk@5 bb39ca4e-bce3-0310-b5d4-eea78a553289 --- src/polypsink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) { -- cgit