summaryrefslogtreecommitdiff
path: root/src/tests/resampler-test.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-11-11 02:30:59 +0000
committerLennart Poettering <lennart@poettering.net>2007-11-11 02:30:59 +0000
commitf873a2a22441d5eaacc5cbb502cbde829ee30a73 (patch)
tree6896f25d84c7a9c2cafd4bc12f7907548c636ad5 /src/tests/resampler-test.c
parente313fe1b3d0d9f9945c41c151d72edbe9cf1ec54 (diff)
add a simple fully-automatic fully-linearupmixer/downmixer and enable it by default
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2044 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/tests/resampler-test.c')
-rw-r--r--src/tests/resampler-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/resampler-test.c b/src/tests/resampler-test.c
index 5295995b..820a0c1e 100644
--- a/src/tests/resampler-test.c
+++ b/src/tests/resampler-test.c
@@ -222,8 +222,8 @@ int main(int argc, char *argv[]) {
pa_sample_format_to_string(b.format),
pa_sample_format_to_string(a.format));
- pa_assert_se(forth = pa_resampler_new(pool, &a, NULL, &b, NULL, PA_RESAMPLER_AUTO, FALSE));
- pa_assert_se(back = pa_resampler_new(pool, &b, NULL, &a, NULL, PA_RESAMPLER_AUTO, FALSE));
+ pa_assert_se(forth = pa_resampler_new(pool, &a, NULL, &b, NULL, PA_RESAMPLER_AUTO, 0));
+ pa_assert_se(back = pa_resampler_new(pool, &b, NULL, &a, NULL, PA_RESAMPLER_AUTO, 0));
i.memblock = generate_block(pool, &a);
i.length = pa_memblock_get_length(i.memblock);