Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 81742132 authored by Keith Mok's avatar Keith Mok Committed by Michael Bestas
Browse files

audio: Fix flac offload not working

If AUDIO_FEATURE_ENABLED_FLAC_OFFLOAD rather
than AUDIO_FEATURE_ENABLED_EXTN_FLAC_OFFLOAD is true,
we should enable COMPRESS_METADATA_NEEDED also.

Change-Id: I8f3b0cea2f59a9967d845133716dd7db5f3facb0
parent d758485d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -157,6 +157,11 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_MULTIPLE_TUNNEL)), true)
    LOCAL_CFLAGS += -DMULTIPLE_OFFLOAD_ENABLED
endif

ifeq ($(strip $(AUDIO_FEATURE_ENABLED_FLAC_OFFLOAD)),true)
    LOCAL_CFLAGS += -DFLAC_OFFLOAD_ENABLED
    LOCAL_CFLAGS += -DCOMPRESS_METADATA_NEEDED
endif

ifeq ($(strip $(AUDIO_FEATURE_ENABLED_EXTN_FLAC_DECODER)),true)
    LOCAL_CFLAGS += -DFLAC_OFFLOAD_ENABLED
    LOCAL_CFLAGS += -DCOMPRESS_METADATA_NEEDED