diff --git a/configs/audio/audio_effects_dolby.xml b/configs/audio/audio_effects_dolby.xml new file mode 100644 index 0000000..ca7e544 --- /dev/null +++ b/configs/audio/audio_effects_dolby.xml @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sm6150.mk b/sm6150.mk index c91b07b..8d820f5 100644 --- a/sm6150.mk +++ b/sm6150.mk @@ -63,8 +63,15 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ libaudio-resampler +ifeq ($(TARGET_USES_DOLBY),true) +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/audio/audio_effects_dolby.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml +else +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/configs/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml +endif + PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ $(LOCAL_PATH)/configs/audio/audio_io_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_io_policy.conf \ $(LOCAL_PATH)/configs/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ $(LOCAL_PATH)/configs/audio/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt