summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Android.mk
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-11-27 14:51:19 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-11-27 14:51:19 -0800
commit41829f30e60cdb7ae8eb1f0266834d245164f70e (patch)
tree6d06d8f0ce550512edd489a8bccb40a239411dbc /services/audioflinger/Android.mk
parentaa9e3e01b86bd9bfb5ac36c0f360d5fe478cbb2d (diff)
parent9bcb476a95a26e62f5706d1f00f4873cf44f9e04 (diff)
downloadframeworks_av-41829f30e60cdb7ae8eb1f0266834d245164f70e.zip
frameworks_av-41829f30e60cdb7ae8eb1f0266834d245164f70e.tar.gz
frameworks_av-41829f30e60cdb7ae8eb1f0266834d245164f70e.tar.bz2
Merge "New VHQ resampler" into jb-mr1.1-dev
Diffstat (limited to 'services/audioflinger/Android.mk')
-rw-r--r--services/audioflinger/Android.mk27
1 files changed, 24 insertions, 3 deletions
diff --git a/services/audioflinger/Android.mk b/services/audioflinger/Android.mk
index bd9421c..2899953 100644
--- a/services/audioflinger/Android.mk
+++ b/services/audioflinger/Android.mk
@@ -19,11 +19,9 @@ LOCAL_SRC_FILES:= \
AudioResampler.cpp.arm \
AudioPolicyService.cpp \
ServiceUtilities.cpp \
+ AudioResamplerCubic.cpp.arm \
AudioResamplerSinc.cpp.arm
-# uncomment to enable AudioResampler::MED_QUALITY
-# LOCAL_SRC_FILES += AudioResamplerCubic.cpp.arm
-
LOCAL_SRC_FILES += StateQueue.cpp
# uncomment for debugging timing problems related to StateQueue::push()
@@ -80,4 +78,27 @@ LOCAL_CFLAGS += -UFAST_TRACKS_AT_NON_NATIVE_SAMPLE_RATE
include $(BUILD_SHARED_LIBRARY)
+#
+# build audio resampler test tool
+#
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= \
+ test-resample.cpp \
+ AudioResampler.cpp.arm \
+ AudioResamplerCubic.cpp.arm \
+ AudioResamplerSinc.cpp.arm
+
+LOCAL_SHARED_LIBRARIES := \
+ libdl \
+ libcutils \
+ libutils
+
+LOCAL_MODULE:= test-resample
+
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_EXECUTABLE)
+
+
include $(call all-makefiles-under,$(LOCAL_PATH))