summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Chen <intervigil@gmail.com>2015-11-27 10:33:37 -0800
committerEthan Chen <intervigil@gmail.com>2015-11-27 10:33:39 -0800
commit13a1747a5b0e87126bf46c6a5e874a2e06dc43a6 (patch)
tree6235b092e4b4ce16714dea0eb148506a52ea768f
parent8eb0563bc46174151ef92f16a7c6273abdf31450 (diff)
downloadhardware_qcom_audio-13a1747a5b0e87126bf46c6a5e874a2e06dc43a6.tar.gz
hardware_qcom_audio-13a1747a5b0e87126bf46c6a5e874a2e06dc43a6.tar.bz2
hardware_qcom_audio-13a1747a5b0e87126bf46c6a5e874a2e06dc43a6.zip
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
-rw-r--r--policy_hal/Android.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/policy_hal/Android.mk b/policy_hal/Android.mk
index 8fc1662e..4c494717 100644
--- a/policy_hal/Android.mk
+++ b/policy_hal/Android.mk
@@ -35,15 +35,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
@@ -51,7 +51,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