qahw: test: Modify test app to support more formats
Modify test app to support FLAC, ALAC, VORBIS and
WMA format for compress playback.
Change-Id: Ia96127e803975d90406fc689cf8ca56c317eac29
diff --git a/hal/Makefile.am b/hal/Makefile.am
index 516770a..c6e3072 100644
--- a/hal/Makefile.am
+++ b/hal/Makefile.am
@@ -103,6 +103,26 @@
c_sources += audio_extn/soundtrigger.c
endif
+if FLAC_SUPPORT
+AM_CFLAGS += -DFLAC_OFFLOAD_ENABLED
+AM_CFLAGS += -DCOMPRESS_METADATA_NEEDED
+endif
+
+if ALAC_SUPPORT
+AM_CFLAGS += -DALAC_OFFLOAD_ENABLED
+AM_CFLAGS += -DCOMPRESS_METADATA_NEEDED
+endif
+
+if VORBIS_SUPPORT
+AM_CFLAGS += -DVORBIS_OFFLOAD_ENABLED
+AM_CFLAGS += -DCOMPRESS_METADATA_NEEDED
+endif
+
+if WMA_SUPPORT
+AM_CFLAGS += -DWMA_OFFLOAD_ENABLED
+AM_CFLAGS += -DCOMPRESS_METADATA_NEEDED
+endif
+
h_sources = audio_extn/audio_defs.h \
audio_extn/audio_extn.h \
audio_hw.h \