mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
cpu: Move pa_mix_func_init function before calling pa_cpu_init_arm
pa_mix_s16ne_neon function was never called even though devices have supported neon instructions because pa_mix_func_init overwritten the do_mix_table that already had neon mixing function. Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
This commit is contained in:
parent
874a609959
commit
d0026c5e96
1 changed files with 3 additions and 1 deletions
|
|
@ -25,6 +25,9 @@ void pa_cpu_init(pa_cpu_info *cpu_info) {
|
|||
cpu_info->cpu_type = PA_CPU_UNDEFINED;
|
||||
/* don't force generic code, used for testing only */
|
||||
cpu_info->force_generic_code = false;
|
||||
|
||||
pa_mix_func_init(cpu_info);
|
||||
|
||||
if (!getenv("PULSE_NO_SIMD")) {
|
||||
if (pa_cpu_init_x86(&cpu_info->flags.x86))
|
||||
cpu_info->cpu_type = PA_CPU_X86;
|
||||
|
|
@ -34,5 +37,4 @@ void pa_cpu_init(pa_cpu_info *cpu_info) {
|
|||
}
|
||||
|
||||
pa_remap_func_init(cpu_info);
|
||||
pa_mix_func_init(cpu_info);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue