mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
tests: Add ARM NEON test code to cpu-mix-test
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
parent
d58446963f
commit
173649e4f7
1 changed files with 7 additions and 1 deletions
|
|
@ -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) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue