summaryrefslogtreecommitdiffstats
path: root/polyp/protocol-simple.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/protocol-simple.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/protocol-simple.c')
-rw-r--r--polyp/protocol-simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/polyp/protocol-simple.c b/polyp/protocol-simple.c
index a7bd76fb..ee3bf9d3 100644
--- a/polyp/protocol-simple.c
+++ b/polyp/protocol-simple.c
@@ -314,7 +314,7 @@ static void on_connection(struct pa_socket_server*s, struct pa_iochannel *io, vo
goto fail;
}
- if (!(c->sink_input = pa_sink_input_new(sink, c->client->name, &p->sample_spec, 0))) {
+ if (!(c->sink_input = pa_sink_input_new(sink, c->client->name, &p->sample_spec, 0, -1))) {
pa_log(__FILE__": Failed to create sink input.\n");
goto fail;
}
@@ -344,7 +344,7 @@ static void on_connection(struct pa_socket_server*s, struct pa_iochannel *io, vo
goto fail;
}
- c->source_output = pa_source_output_new(source, c->client->name, &p->sample_spec);
+ c->source_output = pa_source_output_new(source, c->client->name, &p->sample_spec, -1);
if (!c->source_output) {
pa_log(__FILE__": Failed to create source output.\n");
goto fail;