summaryrefslogtreecommitdiff
path: root/hal/Android.mk
diff options
context:
space:
mode:
authorVignesh Kulothungan <vigneshk@quicinc.com>2018-01-23 11:25:18 -0800
committerCarter Hsu <carterhsu@google.com>2018-12-17 19:19:57 +0800
commit6469882bc7e9064ffd1fcd16a44f67e93381c801 (patch)
treeb001cd554e237e6313fc7d7f1294912c456b53a3 /hal/Android.mk
parent222f4bf271388e9c266e89d304a32d866a053997 (diff)
downloadaudio-6469882bc7e9064ffd1fcd16a44f67e93381c801.tar.gz
hal: Add dynamic enablement of AEC/NS for VoIP
Add capability to dynamically enable or disable AEC/NS audio effects on DSP for a VoIP call. Bug: 70805651 Test: manual Change-Id: I16f1f6664b39afaedfca92afbc87002685f6e369
Diffstat (limited to 'hal/Android.mk')
-rw-r--r--hal/Android.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/hal/Android.mk b/hal/Android.mk
index 236ed11..7f93710 100644
--- a/hal/Android.mk
+++ b/hal/Android.mk
@@ -197,7 +197,6 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_SND_MONITOR)), true)
LOCAL_SRC_FILES += audio_extn/sndmonitor.c
endif
-
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_USB_SERVICE_INTERVAL)), true)
LOCAL_CFLAGS += -DUSB_SERVICE_INTERVAL_ENABLED
endif
@@ -215,6 +214,10 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_BG_CAL)),true)
LOCAL_CFLAGS += -DBG_CODEC_CAL
endif
+ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DYNAMIC_ECNS)),true)
+ LOCAL_CFLAGS += -DDYNAMIC_ECNS_ENABLED
+endif
+
LOCAL_SHARED_LIBRARIES += libbase libhidlbase libhwbinder libutils android.hardware.power@1.2 liblog
LOCAL_SRC_FILES += audio_perf.cpp