Index: webrtc/common_audio/resampler/sinc_resampler.cc |
diff --git a/webrtc/common_audio/resampler/sinc_resampler.cc b/webrtc/common_audio/resampler/sinc_resampler.cc |
index 2f17ded98b8b87055e9345d8ba2940ee9cc3ed7e..acf7d0fae942d516e93091d2510d9778c7af74b6 100644 |
--- a/webrtc/common_audio/resampler/sinc_resampler.cc |
+++ b/webrtc/common_audio/resampler/sinc_resampler.cc |
@@ -160,12 +160,12 @@ |
AlignedMalloc(sizeof(float) * kKernelStorageSize, 16))), |
input_buffer_(static_cast<float*>( |
AlignedMalloc(sizeof(float) * input_buffer_size_, 16))), |
-#if (defined(WEBRTC_ARCH_X86_FAMILY) && !defined(__SSE2__)) |
+#if defined(WEBRTC_CPU_DETECTION) |
convolve_proc_(nullptr), |
#endif |
r1_(input_buffer_.get()), |
r2_(input_buffer_.get() + kKernelSize / 2) { |
-#if (defined(WEBRTC_ARCH_X86_FAMILY) && !defined(__SSE2__)) |
+#if defined(WEBRTC_CPU_DETECTION) |
InitializeCPUSpecificFeatures(); |
RTC_DCHECK(convolve_proc_); |
#endif |