From 46f6c478b53d9246052d3e9f3366a797f21055e1 Mon Sep 17 00:00:00 2001 From: Simon1511 Date: Sat, 1 Apr 2023 14:18:19 +0200 Subject: [PATCH] sm7125-common: Remove dolby audio effect and bring back AudioFX This has barely any effect on audio. This reverts commit 0528e6d2edac8479d942b32fc5bcccaa4297ddcf. This reverts commit fc62df5b7023d7a1635303c50668da6badcd0936. Change-Id: I376eee348ad59201f767f301edf9b6ee722d389b --- audio/configs/audio_effects.conf | 7 ------- audio/configs/audio_effects.xml | 19 +++++++++++++++++-- common.mk | 3 --- proprietary-files.txt | 2 -- 4 files changed, 17 insertions(+), 14 deletions(-) diff --git a/audio/configs/audio_effects.conf b/audio/configs/audio_effects.conf index 367d810..b109af8 100644 --- a/audio/configs/audio_effects.conf +++ b/audio/configs/audio_effects.conf @@ -54,9 +54,6 @@ libraries { shoebox { path /vendor/lib/soundfx/libshoebox.so } - dap { - path /vendor/lib/soundfx/libswdap.so - } } # Default pre-processing library. Add to audio_effect.conf "libraries" section if @@ -269,10 +266,6 @@ effects { library shoebox uuid 1eab784c-1a36-4b2a-b7fc-e34c44cab89e } - dap { - library dap - uuid 6ab06da4-c516-4611-8166-452799218539 - } } # additional effect from vendor diff --git a/audio/configs/audio_effects.xml b/audio/configs/audio_effects.xml index e079733..428fb53 100644 --- a/audio/configs/audio_effects.xml +++ b/audio/configs/audio_effects.xml @@ -41,7 +41,6 @@ - @@ -90,9 +89,25 @@ - + + + + + + + + + + + + + + + + + diff --git a/common.mk b/common.mk index 6313d09..202a69b 100644 --- a/common.mk +++ b/common.mk @@ -77,11 +77,8 @@ PRODUCT_PACKAGES += \ libqcomvoiceprocessing \ libqcompostprocbundle \ libvolumelistener \ - SamsungDAP \ SamsungAudio -TARGET_EXCLUDES_AUDIOFX := true - PRODUCT_COPY_FILES += \ $(COMMON_PATH)/audio/configs/audio_configs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs.xml \ $(COMMON_PATH)/audio/configs/audio_configs_stock.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs_stock.xml \ diff --git a/proprietary-files.txt b/proprietary-files.txt index 4a007d2..6c013ab 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -109,7 +109,6 @@ vendor/lib/soundfx/libasphere.so vendor/lib/soundfx/libqcreverb.so vendor/lib/soundfx/libshoebox.so vendor/lib/soundfx/libqcbassboost.so -vendor/lib/soundfx/libswdap.so vendor/lib/soundfx/libswspatializer.so vendor/lib64/soundfx/libqcvirt.so vendor/lib64/soundfx/libasphere.so @@ -117,7 +116,6 @@ vendor/lib64/soundfx/libqcreverb.so vendor/lib64/soundfx/libshoebox.so vendor/lib64/soundfx/libqcbassboost.so vendor/lib64/soundfx/libswspatializer.so -vendor/etc/dolby/dax-default.xml # Audio Firmware vendor/firmware/dax_param.bin