diff --git a/webrtc/common_audio/fir_filter.cc b/webrtc/common_audio/fir_filter.cc index a5160fdc8..3be914873 100644 --- a/webrtc/common_audio/fir_filter.cc +++ b/webrtc/common_audio/fir_filter.cc @@ -57,7 +57,7 @@ FIRFilter* FIRFilter::Create(const float* coefficients, filter = new FIRFilterC(coefficients, coefficients_length); } #endif -#elif defined(WEBRTC_ARCH_ARM_V7) +#elif defined(WEBRTC_DETECT_ARM_NEON) || defined(WEBRTC_ARCH_ARM_NEON) #if defined(WEBRTC_ARCH_ARM_NEON) filter = new FIRFilterNEON(coefficients, coefficients_length, max_input_length); diff --git a/webrtc/common_audio/resampler/sinc_resampler.cc b/webrtc/common_audio/resampler/sinc_resampler.cc index 1f987a416..0e18ac55e 100644 --- a/webrtc/common_audio/resampler/sinc_resampler.cc +++ b/webrtc/common_audio/resampler/sinc_resampler.cc @@ -128,7 +128,7 @@ void SincResampler::InitializeCPUSpecificFeatures() { convolve_proc_ = WebRtc_GetCPUInfo(kSSE2) ? Convolve_SSE : Convolve_C; } #endif -#elif defined(WEBRTC_ARCH_ARM_V7) +#elif defined(WEBRTC_DETECT_ARM_NEON) || defined(WEBRTC_ARCH_ARM_NEON) #if defined(WEBRTC_ARCH_ARM_NEON) #define CONVOLVE_FUNC Convolve_NEON void SincResampler::InitializeCPUSpecificFeatures() {}