From 43f874285d0aa3c960de1574c538035d363f5477 Mon Sep 17 00:00:00 2001 From: Deokgyu Yang Date: Sun, 19 Dec 2021 16:25:09 +0900 Subject: [PATCH] gts3l-common: audio: Add Dolby audio effect References: - https://review.lineageos.org/c/LineageOS/android_device_samsung_gta4xl-common/+/314961 - https://forum.xda-developers.com/t/rom-official-lineageos-18-1-for-galaxy-s10e-s10-s10-s10-5g-exynos.4315407/page-7#post-85586605 Signed-off-by: Deokgyu Yang Change-Id: If58ceb23d4b30759ce3b93102a04623b6f291a5f --- BoardConfigCommon.mk | 1 + audio/audio_effects.xml | 2 ++ proprietary-files.txt | 7 +++++++ system.prop | 2 -- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 3e9e85f..ee4ebcb 100755 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -61,6 +61,7 @@ BOARD_ANT_WIRELESS_DEVICE := "qualcomm-hidl" # Audio AUDIO_FEATURE_ENABLED_AUDIOSPHERE := true +AUDIO_FEATURE_ENABLED_DS2_DOLBY_DAP := true AUDIO_FEATURE_ENABLED_INSTANCE_ID := true AUDIO_FEATURE_ENABLED_PROXY_DEVICE := true USE_CUSTOM_AUDIO_POLICY := 1 diff --git a/audio/audio_effects.xml b/audio/audio_effects.xml index 231428b..88c026e 100644 --- a/audio/audio_effects.xml +++ b/audio/audio_effects.xml @@ -42,6 +42,7 @@ + @@ -88,6 +89,7 @@ + diff --git a/proprietary-files.txt b/proprietary-files.txt index 1a39d78..1dbf739 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -18,12 +18,17 @@ vendor/lib/hw/com.qualcomm.qti.ant@1.0-impl.so vendor/lib64/hw/com.qualcomm.qti.ant@1.0-impl.so # Audio +lib/libprofileparamstorage.so lib/librecordalive.so lib/libSamsungPostProcess.so lib/libSamsungPostProcessConvertor.so lib/libsamsungVoipResampler.so +lib/libsecaudiocoreutils.so lib/lib_SamsungRec_06002.so lib/lib_SoundBooster_ver_Quad_710.so +lib64/libprofileparamstorage.so +lib64/libsecaudiocoreutils.so +vendor/etc/dolby/dax-default.xml vendor/etc/SoundBoosterParam.txt vendor/lib/hw/audio.primary.msm8996.so vendor/lib/libacdb-fts.so @@ -57,9 +62,11 @@ vendor/lib/soundfx/libasphere.so vendor/lib/soundfx/libqcbassboost.so vendor/lib/soundfx/libqcreverb.so vendor/lib/soundfx/libqcvirt.so +vendor/lib/soundfx/libswdap.so vendor/lib64/soundfx/libasphere.so vendor/lib64/soundfx/libqcbassboost.so vendor/lib64/soundfx/libqcvirt.so +vendor/lib64/soundfx/libswdap.so # Bluetooth vendor/bin/btnvtool diff --git a/system.prop b/system.prop index c2bc627..ae366bb 100755 --- a/system.prop +++ b/system.prop @@ -11,8 +11,6 @@ ro.config.media_vol_steps=25 ro.config.vc_call_vol_steps=5 ro.vendor.audio.sdk.fluencetype=none ro.vendor.audio.sdk.ssr=false -vendor.audio.dolby.ds2.enabled=false -vendor.audio.dolby.ds2.hardbypass=false vendor.audio.flac.sw.decoder.24bit=true vendor.audio_hal.period_size=192 vendor.audio.hw.aac.encoder=true