sm7125-common: Remove dolby audio effect and bring back AudioFX

This has barely any effect on audio.

This reverts commit 0528e6d2ed.
This reverts commit fc62df5b70.

Change-Id: I376eee348ad59201f767f301edf9b6ee722d389b
fourteen-wip
Simon1511 2 years ago committed by Simon1511
parent be4e9dcaa1
commit 46f6c478b5
  1. 7
      audio/configs/audio_effects.conf
  2. 19
      audio/configs/audio_effects.xml
  3. 3
      common.mk
  4. 2
      proprietary-files.txt

@ -54,9 +54,6 @@ 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
@ -269,10 +266,6 @@ 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,7 +41,6 @@
<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"/>
<library name="spatializer" path="libswspatializer.so"/> <library name="spatializer" path="libswspatializer.so"/>
</libraries> </libraries>
<effects> <effects>
@ -90,9 +89,25 @@
<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"/>
<effect name="spatializer" library="spatializer" uuid="ccd4cf09-a79d-46c2-9aae-06a1698d6c8f"/> <effect name="spatializer" library="spatializer" uuid="ccd4cf09-a79d-46c2-9aae-06a1698d6c8f"/>
</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"/>

@ -77,11 +77,8 @@ PRODUCT_PACKAGES += \
libqcomvoiceprocessing \ libqcomvoiceprocessing \
libqcompostprocbundle \ libqcompostprocbundle \
libvolumelistener \ libvolumelistener \
SamsungDAP \
SamsungAudio SamsungAudio
TARGET_EXCLUDES_AUDIOFX := true
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
$(COMMON_PATH)/audio/configs/audio_configs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs.xml \ $(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 \ $(COMMON_PATH)/audio/configs/audio_configs_stock.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_configs_stock.xml \

@ -109,7 +109,6 @@ 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/lib/soundfx/libswspatializer.so vendor/lib/soundfx/libswspatializer.so
vendor/lib64/soundfx/libqcvirt.so vendor/lib64/soundfx/libqcvirt.so
vendor/lib64/soundfx/libasphere.so vendor/lib64/soundfx/libasphere.so
@ -117,7 +116,6 @@ 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/lib64/soundfx/libswspatializer.so vendor/lib64/soundfx/libswspatializer.so
vendor/etc/dolby/dax-default.xml
# Audio Firmware # Audio Firmware
vendor/firmware/dax_param.bin vendor/firmware/dax_param.bin

Loading…
Cancel
Save