Index: webrtc/common_audio/resampler/sinc_resampler.h |
diff --git a/webrtc/common_audio/resampler/sinc_resampler.h b/webrtc/common_audio/resampler/sinc_resampler.h |
index fa92163f861ca3b6824da46ed48de19927471036..50059e53c7bf66c60b2a9ab07e23691ab80b59aa 100644 |
--- a/webrtc/common_audio/resampler/sinc_resampler.h |
+++ b/webrtc/common_audio/resampler/sinc_resampler.h |
@@ -149,7 +149,7 @@ class SincResampler { |
// TODO(ajm): Move to using a global static which must only be initialized |
// once by the user. We're not doing this initially, because we don't have |
// e.g. a LazyInstance helper in webrtc. |
-#if defined(WEBRTC_CPU_DETECTION) |
+#if (defined(WEBRTC_ARCH_X86_FAMILY) && !defined(__SSE2__)) |
typedef float (*ConvolveProc)(const float*, const float*, const float*, |
double); |
ConvolveProc convolve_proc_; |