hal: Add support for AAC ADTS offload playback
-In byte stream mode input bistream is configured with AAC ADTS format
-Add change to configure ADSP in ADTS format if input is in ADTS format
Change-Id: Ie423af6847e4bfd49722239105aaba4fecf9469b
diff --git a/hal/Android.mk b/hal/Android.mk
index 3e3da0b..6db1f98 100644
--- a/hal/Android.mk
+++ b/hal/Android.mk
@@ -191,6 +191,10 @@
LOCAL_CFLAGS += -DPCM_OFFLOAD_ENABLED_24
endif
+ifeq ($(strip $(AUDIO_FEATURE_ENABLED_AAC_ADTS_OFFLOAD)),true)
+ LOCAL_CFLAGS += -DAAC_ADTS_OFFLOAD_ENABLED
+endif
+
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_DEV_ARBI)),true)
LOCAL_CFLAGS += -DDEV_ARBI_ENABLED
LOCAL_SRC_FILES += audio_extn/dev_arbi.c