mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
Merge branch 'master' into 'master'
cpu: Move pa_mix_func_init function before calling pa_cpu_init_arm See merge request pulseaudio/pulseaudio!824
This commit is contained in:
commit
08e3d44cc8
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;
|
cpu_info->cpu_type = PA_CPU_UNDEFINED;
|
||||||
/* don't force generic code, used for testing only */
|
/* don't force generic code, used for testing only */
|
||||||
cpu_info->force_generic_code = false;
|
cpu_info->force_generic_code = false;
|
||||||
|
|
||||||
|
pa_mix_func_init(cpu_info);
|
||||||
|
|
||||||
if (!getenv("PULSE_NO_SIMD")) {
|
if (!getenv("PULSE_NO_SIMD")) {
|
||||||
if (pa_cpu_init_x86(&cpu_info->flags.x86))
|
if (pa_cpu_init_x86(&cpu_info->flags.x86))
|
||||||
cpu_info->cpu_type = PA_CPU_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_remap_func_init(cpu_info);
|
||||||
pa_mix_func_init(cpu_info);
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue