mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -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
|
|
@ -139,7 +139,7 @@ int pa__init(struct pa_core *c, struct pa_module*m) {
|
|||
calc_sine(u->memblock->data, u->memblock->length, frequency);
|
||||
|
||||
snprintf(t, sizeof(t), "Sine Generator at %u Hz", frequency);
|
||||
if (!(u->sink_input = pa_sink_input_new(sink, t, &ss, 0)))
|
||||
if (!(u->sink_input = pa_sink_input_new(sink, t, &ss, 0, -1)))
|
||||
goto fail;
|
||||
|
||||
u->sink_input->peek = sink_input_peek;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue