From 97bd7304f0e077a8d6cf9495b7e4ca3e6125a409 Mon Sep 17 00:00:00 2001 From: Ruchit Marathe Date: Sat, 23 Jul 2022 15:42:38 +0530 Subject: [PATCH] sm7125: Actually add dolby audio effect Works now after adding Samsung's media C2 blobs Credit - @Simon1511 for the base fix --- common.mk | 3 ++- configs/audio/audio_effects.conf | 7 +++++++ configs/audio/audio_effects.xml | 19 ++----------------- proprietary-files.txt | 3 +++ 4 files changed, 14 insertions(+), 18 deletions(-) diff --git a/common.mk b/common.mk index 1e0cd3f..42d6a3d 100644 --- a/common.mk +++ b/common.mk @@ -78,7 +78,8 @@ PRODUCT_PACKAGES += \ libqcomvisualizer \ libqcomvoiceprocessing \ libqcompostprocbundle \ - libvolumelistener + libvolumelistener \ + SamsungDAP PRODUCT_PACKAGES += \ SamsungDAP diff --git a/configs/audio/audio_effects.conf b/configs/audio/audio_effects.conf index 8b9189a..6cfb41c 100644 --- a/configs/audio/audio_effects.conf +++ b/configs/audio/audio_effects.conf @@ -54,6 +54,9 @@ 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 @@ -270,6 +273,10 @@ 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/configs/audio/audio_effects.xml b/configs/audio/audio_effects.xml index add0925..ea32917 100644 --- a/configs/audio/audio_effects.xml +++ b/configs/audio/audio_effects.xml @@ -41,6 +41,7 @@ + @@ -89,24 +90,8 @@ + - - - - - - - - - - - - - - - - - diff --git a/proprietary-files.txt b/proprietary-files.txt index 3bda745..28b9906 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -83,6 +83,7 @@ vendor/lib/libcirrusspkrprot.so vendor/lib/libsurround_3mic_proc.so vendor/lib/libdrc.so vendor/lib/libspkrprot.so +vendor/lib/libprofileparamstorage.so # Soundtrigger vendor/lib/hw/sound_trigger.primary.atoll.so @@ -105,11 +106,13 @@ 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/lib64/soundfx/libqcvirt.so vendor/lib64/soundfx/libasphere.so vendor/lib64/soundfx/libqcreverb.so vendor/lib64/soundfx/libshoebox.so vendor/lib64/soundfx/libqcbassboost.so +vendor/etc/dolby/dax-default.xml # Audio Firmware vendor/firmware/dax_param.bin