summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/polyplib-simple.c')
-rw-r--r--polyp/polyplib-simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/polyp/polyplib-simple.c b/polyp/polyplib-simple.c
index aa6c88f5..9e111e2a 100644
--- a/polyp/polyplib-simple.c
+++ b/polyp/polyplib-simple.c
@@ -156,9 +156,9 @@ struct pa_simple* pa_simple_new(
goto fail;
if (dir == PA_STREAM_PLAYBACK)
- pa_stream_connect_playback(p->stream, dev, attr, volume);
+ pa_stream_connect_playback(p->stream, dev, attr, 0, volume);
else
- pa_stream_connect_record(p->stream, dev, attr);
+ pa_stream_connect_record(p->stream, dev, attr, 0);
/* Wait until the stream is ready */
while (pa_stream_get_state(p->stream) != PA_STREAM_READY) {