audio: Add get param support and resolve compile errors
- Add get param support in AHAL for Direction of Arrival and Channel
index from STHAL.
- Correct feature flag enable syntax and resolve compile errors.
- Remove codec loopback and add afe loopback mixer controls in mixer xml.
- Update sound_trigger_platform xml file.
CRs-Fixed: 2225936
Change-Id: I2e477013977a03a599d6bb4a52c66b897e967219
diff --git a/hal/Android.mk b/hal/Android.mk
index 921252c..36bcca9 100644
--- a/hal/Android.mk
+++ b/hal/Android.mk
@@ -395,12 +395,13 @@
LOCAL_CFLAGS += -DDYNAMIC_ECNS_ENABLED
endif
-ifeq ($(strip $($AUDIO_FEATURE_ENABLED_KEEP_ALIVE_ARM_FFV)), true)
+ifeq ($(strip $(AUDIO_FEATURE_ENABLED_KEEP_ALIVE_ARM_FFV)), true)
LOCAL_CFLAGS += -DRUN_KEEP_ALIVE_IN_ARM_FFV
endif
-ifeq ($(strip $($AUDIO_FEATURE_ENABLED_FFV_FFV)), true)
+ifeq ($(strip $(AUDIO_FEATURE_ENABLED_FFV)), true)
LOCAL_CFLAGS += -DFFV_ENABLED
+ LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/mm-audio-noship/include/ffv
LOCAL_SRC_FILES += audio_extn/ffv.c
endif