We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9907d16 + 592a6d9 commit ca7ad44Copy full SHA for ca7ad44
services/audioflinger/AudioResampler.cpp
@@ -26,11 +26,15 @@
26
#include "AudioResamplerSinc.h"
27
#include "AudioResamplerCubic.h"
28
29
+#ifdef __arm__
30
+#include <machine/cpu-features.h>
31
+#endif
32
+
33
namespace android {
34
-#ifdef __ARM_ARCH_5E__ // optimized asm option
35
+#ifdef __ARM_HAVE_HALFWORD_MULTIPLY // optimized asm option
36
#define ASM_ARM_RESAMP1 // enable asm optimisation for ResamplerOrder1
-#endif // __ARM_ARCH_5E__
37
+#endif // __ARM_HAVE_HALFWORD_MULTIPLY
38
// ----------------------------------------------------------------------------
39
40
class AudioResamplerOrder1 : public AudioResampler {
0 commit comments