summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorPeter Meerwald <pmeerw@pmeerw.net>2014-04-23 22:49:14 +0200
committerPeter Meerwald <pmeerw@pmeerw.net>2014-09-10 16:34:12 +0200
commit173649e4f740621566aeefce3c9819284efb1812 (patch)
tree23517bdbe58c8898933341ebd22bcab0797b6d41 /src/tests
parentd58446963fd71a73c9b5b9f62843bc16deaba6ea (diff)
tests: Add ARM NEON test code to cpu-mix-test
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/cpu-mix-test.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/tests/cpu-mix-test.c b/src/tests/cpu-mix-test.c
index ab53c6cbc..181a767e8 100644
--- a/src/tests/cpu-mix-test.c
+++ b/src/tests/cpu-mix-test.c
@@ -186,8 +186,14 @@ START_TEST (mix_neon_test) {
pa_mix_func_init_neon(flags);
neon_func = pa_get_mix_func(PA_SAMPLE_S16NE);
- pa_log_debug("Checking NEON mix");
+ pa_log_debug("Checking NEON mix (s16, stereo)");
run_mix_test(neon_func, orig_func, 7, 2, true, true);
+
+ pa_log_debug("Checking NEON mix (s16, 4-channel)");
+ run_mix_test(neon_func, orig_func, 7, 4, true, true);
+
+ pa_log_debug("Checking NEON mix (s16, mono)");
+ run_mix_test(neon_func, orig_func, 7, 1, true, true);
}
END_TEST
#endif /* defined (__arm__) && defined (__linux__) && defined (HAVE_NEON) */