mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
core: Initialize ARM NEON remapping code if available
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
This commit is contained in:
parent
54a10eb915
commit
a9d38b50e8
2 changed files with 3 additions and 0 deletions
|
|
@ -150,10 +150,12 @@ bool pa_cpu_init_arm(pa_cpu_arm_flag_t *flags) {
|
|||
|
||||
if (*flags & PA_CPU_ARM_V6)
|
||||
pa_volume_func_init_arm(*flags);
|
||||
|
||||
#ifdef HAVE_NEON
|
||||
if (*flags & PA_CPU_ARM_NEON) {
|
||||
pa_convert_func_init_neon(*flags);
|
||||
pa_mix_func_init_neon(*flags);
|
||||
pa_remap_func_init_neon(*flags);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ void pa_volume_func_init_arm(pa_cpu_arm_flag_t flags);
|
|||
#ifdef HAVE_NEON
|
||||
void pa_convert_func_init_neon(pa_cpu_arm_flag_t flags);
|
||||
void pa_mix_func_init_neon(pa_cpu_arm_flag_t flags);
|
||||
void pa_remap_func_init_neon(pa_cpu_arm_flag_t flags);
|
||||
#endif
|
||||
|
||||
#endif /* foocpuarmhfoo */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue