hal: Performance mode during recording usecase
Put system in performance mode during start of recording
usecase to meet KPI values of cold start input latency.
Change-Id: I30c202c39b4b15b37e7245fc2f1a427377178baa
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
diff --git a/hal/Android.mk b/hal/Android.mk
index 0ed8b44..f0a1626 100644
--- a/hal/Android.mk
+++ b/hal/Android.mk
@@ -66,6 +66,10 @@
LOCAL_CFLAGS += -DAFE_PROXY_ENABLED
endif
+ifeq ($(strip $(AUDIO_FEATURE_ENABLED_KPI_OPTIMIZE)),true)
+ LOCAL_CFLAGS += -DKPI_OPTIMIZE_ENABLED
+endif
+
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_FM)),true)
LOCAL_CFLAGS += -DFM_ENABLED
LOCAL_SRC_FILES += audio_extn/fm.c