hal: Support for FLAC 24 bit format in offload path
- Add flac in supported codecs list
- Set FLAC codec specific parameters
- Set fragment size based on bit width and sampling rate
for flac
- Configure backend to 24/16 bit based on the current
usecases running
Change-Id: If013078e277fd3053fba6489345803f8f58bd86d
diff --git a/hal/Android.mk b/hal/Android.mk
index 3d6559e..d6f07fa 100644
--- a/hal/Android.mk
+++ b/hal/Android.mk
@@ -137,6 +137,10 @@
LOCAL_CFLAGS += -DMULTIPLE_OFFLOAD_ENABLED
endif
+ifeq ($(strip $(AUDIO_FEATURE_ENABLED_EXTN_FLAC_DECODER)),true)
+ LOCAL_CFLAGS += -DQTI_FLAC_DECODER
+endif
+
LOCAL_SHARED_LIBRARIES := \
liblog \
libcutils \