Use libsndfile to write .wav files
This will reduce code duplication, and allow us take advantage of more
advanced capabilities of libsndfile in the future.
Change-Id: I25fa2b6d0c21e325aeaf05bda62cf7aab0c5deb4
diff --git a/services/audioflinger/Android.mk b/services/audioflinger/Android.mk
index 54377f1..3ec9285 100644
--- a/services/audioflinger/Android.mk
+++ b/services/audioflinger/Android.mk
@@ -79,7 +79,14 @@
AudioResamplerCubic.cpp.arm \
AudioResamplerSinc.cpp.arm
+LOCAL_C_INCLUDES := \
+ $(call include-path-for, audio-utils)
+
+LOCAL_STATIC_LIBRARIES := \
+ libsndfile
+
LOCAL_SHARED_LIBRARIES := \
+ libaudioutils \
libdl \
libcutils \
libutils \