Configs: msm8937: Select right audio_policy file
Select right audio_policy_configuration.xml file for wearable. Remove /vendor/etc/audio/audio_policy_configuration.xml for it will be sellected with high priority. Then /vendor/etc/audio_policy_configuration.xml will be ignored. Change-Id: I5a784f8fd02404e046ad51c10e00531af2eb6572
This commit is contained in:
parent
daa27ca93f
commit
15f2644396
|
@ -146,10 +146,16 @@ endif
|
|||
|
||||
#XML Audio configuration files
|
||||
ifeq ($(USE_XML_AUDIO_POLICY_CONF), 1)
|
||||
ifneq ($(TARGET_USES_AOSP_FOR_AUDIO), true)
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml
|
||||
endif
|
||||
ifeq ($(TARGET_SUPPORTS_WEARABLES), true)
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_policy_configuration_sdm429w.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml
|
||||
else ifeq ($(TARGET_USES_AOSP_FOR_AUDIO), true)
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_policy_configuration_common.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
||||
else
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml
|
||||
endif
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/common/bluetooth_qti_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
|
||||
$(TOPDIR)frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
||||
|
@ -157,13 +163,6 @@ PRODUCT_COPY_FILES += \
|
|||
$(TOPDIR)frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
|
||||
$(TOPDIR)frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
|
||||
endif
|
||||
ifeq ($(TARGET_SUPPORTS_WEARABLES), true)
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_policy_configuration_sdm429w.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml
|
||||
else
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(TOPDIR)vendor/qcom/opensource/audio-hal/primary-hal/configs/msm8937/audio_policy_configuration_common.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml
|
||||
endif
|
||||
|
||||
# Reduce client buffer size for fast audio output tracks
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
|
|
Loading…
Reference in New Issue