summaryrefslogtreecommitdiffstats
path: root/polyp/sound-file-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/sound-file-stream.c')
-rw-r--r--polyp/sound-file-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/sound-file-stream.c b/polyp/sound-file-stream.c
index 60a58f47..b77d6d61 100644
--- a/polyp/sound-file-stream.c
+++ b/polyp/sound-file-stream.c
@@ -145,7 +145,7 @@ int pa_play_file(struct pa_sink *sink, const char *fname, pa_volume_t volume) {
goto fail;
}
- if (!(u->sink_input = pa_sink_input_new(sink, fname, &ss, 0)))
+ if (!(u->sink_input = pa_sink_input_new(sink, fname, &ss, 0, -1)))
goto fail;
u->sink_input->volume = volume;