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

Unverified Commit b341e5aa authored by Michael Bestas's avatar Michael Bestas
Browse files

hal/policy_hal: Invert standard build flags

* Disable wearable feature by default
* Enable new samplerate by default since it's the default
  behaviour in CAF HAL matching latest kernel releases
* Enable compress voip and proxy in policy_hal since it's
  already enabled in hal & post_proc by default

Change-Id: I96de446990af415d909fb074c15e69f78f8df5b6
parent f110c2d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ ifeq ($(strip $(AUDIO_FEATURE_ENABLED_COMPRESS_CAPTURE)),true)
    LOCAL_SRC_FILES += audio_extn/compress_capture.c
endif

ifeq ($(strip $(AUDIO_FEATURE_ENABLED_NEW_SAMPLE_RATE)),true)
ifneq ($(strip $(AUDIO_FEATURE_ENABLED_NEW_SAMPLE_RATE)),false)
    LOCAL_CFLAGS += -DNEW_SAMPLE_RATE_ENABLED
endif

+3 −3
Original line number Diff line number Diff line
@@ -47,15 +47,15 @@ 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

ifeq ($(strip $(AUDIO_FEATURE_ENABLED_COMPRESS_VOIP)),true)
ifneq ($(strip $(AUDIO_FEATURE_ENABLED_COMPRESS_VOIP)),false)
    LOCAL_CFLAGS += -DCOMPRESS_VOIP_ENABLED
endif

ifeq ($(strip $(AUDIO_FEATURE_NON_WEARABLE_TARGET)),true)
ifneq ($(strip $(AUDIO_FEATURE_NON_WEARABLE_TARGET)),false)
    LOCAL_CFLAGS += -DNON_WEARABLE_TARGET
else
    LOCAL_CFLAGS += -Wno-error -fpermissive