diff --git a/audio/sinc_neon.S b/audio/sinc_neon.S index 908797aba2..06b6ca59b2 100644 --- a/audio/sinc_neon.S +++ b/audio/sinc_neon.S @@ -16,9 +16,11 @@ .arm .align 4 .globl process_sinc_neon_asm +.globl _process_sinc_neon_asm # void process_sinc_neon(float *out, const float *left, const float *right, const float *coeff, unsigned taps) # Assumes taps is >= 8, and a multiple of 8. process_sinc_neon_asm: +_process_sinc_neon_asm: push {r4, lr} vmov.f32 q0, #0.0 diff --git a/audio/utils_neon.S b/audio/utils_neon.S index c0fc53ed75..f11179db90 100644 --- a/audio/utils_neon.S +++ b/audio/utils_neon.S @@ -17,8 +17,10 @@ .align 4 .globl audio_convert_s16_float_asm +.globl _audio_convert_s16_float_asm # audio_convert_s16_float_asm(float *out, const int16_t *in, size_t samples, const float *gain) audio_convert_s16_float_asm: +_audio_convert_s16_float_asm: # Hacky way to get a constant of 2^-15. # Might be faster to just load a constant from memory. # It's just done once however ... @@ -57,8 +59,10 @@ audio_convert_s16_float_asm: .align 4 .globl audio_convert_float_s16_asm +.globl _audio_convert_float_s16_asm # audio_convert_float_s16_asm(int16_t *out, const float *in, size_t samples) audio_convert_float_s16_asm: +_audio_convert_float_s16_asm: # Hacky way to get a constant of 2^15. # ((2^4)^2)^2 * 0.5 = 2^15 vmov.f32 q8, #16.0