summaryrefslogtreecommitdiffstats
path: root/libaudio/Android.mk
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-06-17 13:48:45 -0700
committerEric Laurent <elaurent@google.com>2011-07-05 16:16:06 -0700
commit61f43974dc34fb00dc52edb10f0a01d6134a8a27 (patch)
tree4bd82b0eab14567068de27cfdab108c1c6596da8 /libaudio/Android.mk
parent88482dc964d975e7eadfd43f5e7dae04886e7b0d (diff)
downloaddevice_samsung_crespo-61f43974dc34fb00dc52edb10f0a01d6134a8a27.zip
device_samsung_crespo-61f43974dc34fb00dc52edb10f0a01d6134a8a27.tar.gz
device_samsung_crespo-61f43974dc34fb00dc52edb10f0a01d6134a8a27.tar.bz2
Audio HAL: replaced downsampler by speex resampler
Use speex resampler for more flexibility and prepare integration of audio pre processing which require upsampling. Change-Id: I7dd234bd89116d028655a043c84c1a18faf3bc67
Diffstat (limited to 'libaudio/Android.mk')
-rw-r--r--libaudio/Android.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/libaudio/Android.mk b/libaudio/Android.mk
index 9df67c7..9ab312b 100644
--- a/libaudio/Android.mk
+++ b/libaudio/Android.mk
@@ -8,7 +8,8 @@ LOCAL_STATIC_LIBRARIES:= libmedia_helper
LOCAL_SHARED_LIBRARIES:= \
libutils \
libhardware_legacy \
- libtinyalsa
+ libtinyalsa \
+ libspeexresampler
LOCAL_WHOLE_STATIC_LIBRARIES := libaudiohw_legacy
LOCAL_MODULE_TAGS := optional
@@ -18,7 +19,7 @@ ifeq ($(TARGET_SIMULATOR),true)
else
LOCAL_SHARED_LIBRARIES += libdl
endif
-
+LOCAL_C_INCLUDES += $(call include-path-for, speex)
LOCAL_C_INCLUDES += external/tinyalsa/include
include $(BUILD_SHARED_LIBRARY)