qahw: include tinyalsa headers path and resolve compilation errors
Include tinyalsa headers path and remove unused variables.
Resolve implicit declaration errors, resolve non-void function
should return a value error by adding proper return value.
Change-Id: I4fa1337c66986c86ef6d5ff3c84c29a0214de74a
diff --git a/qahw_api/test/Android.mk b/qahw_api/test/Android.mk
index 6ee6f4b..887f416 100644
--- a/qahw_api/test/Android.mk
+++ b/qahw_api/test/Android.mk
@@ -8,14 +8,17 @@
LOCAL_MODULE := hal_play_test
hal-play-inc = $(TARGET_OUT_HEADERS)/mm-audio/qahw_api/inc
+hal-play-inc += external/tinyalsa/include
LOCAL_CFLAGS += -Wall -Werror -Wno-sign-compare
LOCAL_SHARED_LIBRARIES := \
libaudioutils\
libqahw \
- libutils
+ libutils \
+ libcutils
+LOCAL_LDLIBS := -lpthread
LOCAL_32_BIT_ONLY := true
LOCAL_C_INCLUDES += $(hal-play-inc)