hal: Enable Compress passthrough
Enable Compress passthrough
Add Dolby and DTS formats which got removed mistakenly before.
CRs-Fixed: 1110685
Change-Id: I20f42b14bafb9b1a36bf471037f4e462e8cbd3cb
diff --git a/hal/Makefile.am b/hal/Makefile.am
index 9f5214a..b859e0e 100644
--- a/hal/Makefile.am
+++ b/hal/Makefile.am
@@ -128,6 +128,16 @@
c_sources += audio_extn/compress_in.c
endif
+if COMPRESS_PASSTHROUGH
+AM_CFLAGS += -DHDMI_PASSTHROUGH_ENABLED
+c_sources += audio_extn/passthru.c
+endif
+
+if KEEP_ALIVE
+AM_CFLAGS += -DKEEP_ALIVE_ENABLED
+c_sources += audio_extn/keep_alive.c
+endif
+
if AUDIO_HW_EXTN_API
AM_CFLAGS += -DAUDIO_HW_EXTN_API_ENABLED
c_sources += audio_hw_extn_api.c