summaryrefslogtreecommitdiffstats
path: root/polyp/sound-file-stream.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-17 21:10:05 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-17 21:10:05 +0000
commit61ec86c90f1964ab9663b7a72a0885078d372683 (patch)
treeb5409bf14cb0f01d3256f5901b00e58300d7617a /polyp/sound-file-stream.c
parent08953564bb85356869a1f043b82d1f365c8729a1 (diff)
add resample_method option module-combine
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@215 fefdeb5f-60dc-0310-8127-8f9354f1896f
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;