diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-09-21 17:45:32 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-09-21 17:45:32 +0000 |
commit | 16d8cdb78f70d967547e329279100a8640889e13 (patch) | |
tree | e718a99dbe4b5c168f450feebfbea91f21ab63f8 /src | |
parent | 7bbb95383139fdc2ba1f8b27c66cf892e54221c5 (diff) |
update to polypaudio 0.5
git-svn-id: file:///home/lennart/svn/public/gst-pulse/trunk@5 bb39ca4e-bce3-0310-b5d4-eea78a553289
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) { |