mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-17 08:56:42 -05:00
add resample_method option module-combine
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@215 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
08953564bb
commit
61ec86c90f
14 changed files with 59 additions and 33 deletions
|
|
@ -251,7 +251,7 @@ static struct record_stream* record_stream_new(struct connection *c, struct pa_s
|
|||
size_t base;
|
||||
assert(c && source && ss && name && maxlength);
|
||||
|
||||
if (!(source_output = pa_source_output_new(source, name, ss)))
|
||||
if (!(source_output = pa_source_output_new(source, name, ss, -1)))
|
||||
return NULL;
|
||||
|
||||
s = pa_xmalloc(sizeof(struct record_stream));
|
||||
|
|
@ -295,7 +295,7 @@ static struct playback_stream* playback_stream_new(struct connection *c, struct
|
|||
struct pa_sink_input *sink_input;
|
||||
assert(c && sink && ss && name && maxlength);
|
||||
|
||||
if (!(sink_input = pa_sink_input_new(sink, name, ss, 0)))
|
||||
if (!(sink_input = pa_sink_input_new(sink, name, ss, 0, -1)))
|
||||
return NULL;
|
||||
|
||||
s = pa_xmalloc(sizeof(struct playback_stream));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue