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

Unverified Commit d758485d authored by Ethan Chen's avatar Ethan Chen Committed by Michael Bestas
Browse files

policy_hal: Line up default features with rest of HAL

* PCM_OFFLOAD, EXTN_FORMATS, PROXY_DEVICE are all enabled by default in
  the HAL/post_proc, make them enabled by default for the policy HAL as
  well.

Change-Id: I88a90ec138854cc5153fc9ed72dd629a92895ad3
parent c05562e9
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -48,15 +48,15 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_RECORD_PLAY_CONCURRENCY)),true)
LOCAL_CFLAGS += -DRECORD_PLAY_CONCURRENCY
endif

ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PCM_OFFLOAD)),true)
ifneq ($(strip $(AUDIO_FEATURE_ENABLED_PCM_OFFLOAD)),false)
    LOCAL_CFLAGS += -DPCM_OFFLOAD_ENABLED
endif

ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PCM_OFFLOAD_24)),true)
ifneq ($(strip $(AUDIO_FEATURE_ENABLED_PCM_OFFLOAD_24)),false)
       LOCAL_CFLAGS += -DPCM_OFFLOAD_ENABLED_24
endif

ifeq ($(strip $(AUDIO_FEATURE_ENABLED_EXTN_FORMATS)),true)
ifneq ($(strip $(AUDIO_FEATURE_ENABLED_EXTN_FORMATS)),false)
    LOCAL_CFLAGS += -DAUDIO_EXTN_FORMATS_ENABLED
endif

@@ -64,7 +64,7 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_HDMI_SPK)),true)
LOCAL_CFLAGS += -DAUDIO_EXTN_HDMI_SPK_ENABLED
endif

ifeq ($(strip $(AUDIO_FEATURE_ENABLED_PROXY_DEVICE)),true)
ifneq ($(strip $(AUDIO_FEATURE_ENABLED_PROXY_DEVICE)),false)
LOCAL_CFLAGS += -DAUDIO_EXTN_AFE_PROXY_ENABLED
endif