summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioResampler.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-12-02 16:59:38 -0800
committerElliott Hughes <enh@google.com>2014-12-02 16:59:38 -0800
commit8a9737ce64a53f06a2c1774b4ea025897c63bff1 (patch)
treee77852bd6eda3e2f9c2d6345d1a08344e3c4f58e /services/audioflinger/AudioResampler.cpp
parent5458756afe20079055d65d9545399288b9298055 (diff)
downloadframeworks_av-8a9737ce64a53f06a2c1774b4ea025897c63bff1.zip
frameworks_av-8a9737ce64a53f06a2c1774b4ea025897c63bff1.tar.gz
frameworks_av-8a9737ce64a53f06a2c1774b4ea025897c63bff1.tar.bz2
__ARM_HAVE_HALFWORD_MULTIPLY is always true for __arm__.
And this is the only user of that macro... Bug: 18556103 Change-Id: I1b515a54ac8530b150f4dd93070db60c701a5603
Diffstat (limited to 'services/audioflinger/AudioResampler.cpp')
-rw-r--r--services/audioflinger/AudioResampler.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/services/audioflinger/AudioResampler.cpp b/services/audioflinger/AudioResampler.cpp
index 1f7a613..46e3d6c 100644
--- a/services/audioflinger/AudioResampler.cpp
+++ b/services/audioflinger/AudioResampler.cpp
@@ -29,14 +29,11 @@
#include "AudioResamplerDyn.h"
#ifdef __arm__
-#include <machine/cpu-features.h>
+ #define ASM_ARM_RESAMP1 // enable asm optimisation for ResamplerOrder1
#endif
namespace android {
-#ifdef __ARM_HAVE_HALFWORD_MULTIPLY // optimized asm option
- #define ASM_ARM_RESAMP1 // enable asm optimisation for ResamplerOrder1
-#endif // __ARM_HAVE_HALFWORD_MULTIPLY
// ----------------------------------------------------------------------------
class AudioResamplerOrder1 : public AudioResampler {