sm7125: Actually add dolby audio effect

Works now after adding Samsung's media C2 blobs

Credit - @Simon1511 for the base fix
tirimbino
Ruchit Marathe 2 years ago
parent f8422a40eb
commit 97bd7304f0
  1. 3
      common.mk
  2. 7
      configs/audio/audio_effects.conf
  3. 19
      configs/audio/audio_effects.xml
  4. 3
      proprietary-files.txt

@ -78,7 +78,8 @@ PRODUCT_PACKAGES += \
libqcomvisualizer \ libqcomvisualizer \
libqcomvoiceprocessing \ libqcomvoiceprocessing \
libqcompostprocbundle \ libqcompostprocbundle \
libvolumelistener libvolumelistener \
SamsungDAP
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
SamsungDAP SamsungDAP

@ -54,6 +54,9 @@ libraries {
shoebox { shoebox {
path /vendor/lib/soundfx/libshoebox.so 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 # Default pre-processing library. Add to audio_effect.conf "libraries" section if
@ -270,6 +273,10 @@ effects {
library shoebox library shoebox
uuid 1eab784c-1a36-4b2a-b7fc-e34c44cab89e uuid 1eab784c-1a36-4b2a-b7fc-e34c44cab89e
} }
dap {
library dap
uuid 6ab06da4-c516-4611-8166-452799218539
}
} }
# additional effect from vendor # additional effect from vendor

@ -41,6 +41,7 @@
<library name="volume_listener" path="libvolumelistener.so"/> <library name="volume_listener" path="libvolumelistener.so"/>
<library name="audiosphere" path="libasphere.so"/> <library name="audiosphere" path="libasphere.so"/>
<library name="shoebox" path="libshoebox.so"/> <library name="shoebox" path="libshoebox.so"/>
<library name="dap" path="libswdap.so"/>
</libraries> </libraries>
<effects> <effects>
<effectProxy name="bassboost" library="proxy" uuid="14804144-a5ee-4d24-aa88-0002a5d5c51b"> <effectProxy name="bassboost" library="proxy" uuid="14804144-a5ee-4d24-aa88-0002a5d5c51b">
@ -89,24 +90,8 @@
<effect name="notification_helper" library="volume_listener" uuid="0b776dde-0590-11e5-81ba-0025b32654a0"/> <effect name="notification_helper" library="volume_listener" uuid="0b776dde-0590-11e5-81ba-0025b32654a0"/>
<effect name="audiosphere" library="audiosphere" uuid="184e62ab-2d19-4364-9d1b-c0a40733866c"/> <effect name="audiosphere" library="audiosphere" uuid="184e62ab-2d19-4364-9d1b-c0a40733866c"/>
<effect name="shoebox" library="shoebox" uuid="1eab784c-1a36-4b2a-b7fc-e34c44cab89e"/> <effect name="shoebox" library="shoebox" uuid="1eab784c-1a36-4b2a-b7fc-e34c44cab89e"/>
<effect name="dap" library="dap" uuid="6ab06da4-c516-4611-8166-452799218539"/>
</effects> </effects>
<postprocess>
<stream type="music">
<apply effect="music_helper"/>
</stream>
<stream type="ring">
<apply effect="ring_helper"/>
</stream>
<stream type="alarm">
<apply effect="alarm_helper"/>
</stream>
<stream type="voice_call">
<apply effect="voice_helper"/>
</stream>
<stream type="notification">
<apply effect="notification_helper"/>
</stream>
</postprocess>
<preprocess> <preprocess>
<stream type="voice_communication"> <stream type="voice_communication">
<apply effect="aec"/> <apply effect="aec"/>

@ -83,6 +83,7 @@ vendor/lib/libcirrusspkrprot.so
vendor/lib/libsurround_3mic_proc.so vendor/lib/libsurround_3mic_proc.so
vendor/lib/libdrc.so vendor/lib/libdrc.so
vendor/lib/libspkrprot.so vendor/lib/libspkrprot.so
vendor/lib/libprofileparamstorage.so
# Soundtrigger # Soundtrigger
vendor/lib/hw/sound_trigger.primary.atoll.so 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/libqcreverb.so
vendor/lib/soundfx/libshoebox.so vendor/lib/soundfx/libshoebox.so
vendor/lib/soundfx/libqcbassboost.so vendor/lib/soundfx/libqcbassboost.so
vendor/lib/soundfx/libswdap.so
vendor/lib64/soundfx/libqcvirt.so vendor/lib64/soundfx/libqcvirt.so
vendor/lib64/soundfx/libasphere.so vendor/lib64/soundfx/libasphere.so
vendor/lib64/soundfx/libqcreverb.so vendor/lib64/soundfx/libqcreverb.so
vendor/lib64/soundfx/libshoebox.so vendor/lib64/soundfx/libshoebox.so
vendor/lib64/soundfx/libqcbassboost.so vendor/lib64/soundfx/libqcbassboost.so
vendor/etc/dolby/dax-default.xml
# Audio Firmware # Audio Firmware
vendor/firmware/dax_param.bin vendor/firmware/dax_param.bin

Loading…
Cancel
Save