summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoker2 <dimaminko2000@gmail.com>2020-12-21 18:18:57 +0100
committerArian <arian.kulmer@web.de>2020-12-29 15:18:38 +0100
commit17dd593d734b25ee60de7d1cfb10a427fe6da5a2 (patch)
treea592e1c5e30de1a2ce292f6127397d902804f462
parentf12ef27cb9fc9f9cda9078230c5ab5b4ce0d4d93 (diff)
shinano-common: Add sony_effect configs and patch audio HAL to load it from vendor
Change-Id: Ib6cf5a087b98890fb01d69f63d73887c4e38d5f8
-rwxr-xr-xextract-files.sh3
-rw-r--r--proprietary-files.txt8
2 files changed, 11 insertions, 0 deletions
diff --git a/extract-files.sh b/extract-files.sh
index 55de6d3..daffaaa 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -31,6 +31,9 @@ function blob_fixup() {
;;
vendor/lib/hw/audio.primary.msm8974.so)
sed -i "s|/system/etc/mixer_paths.xml|/vendor/etc/mixer_paths.xml|g" "${2}"
+ sed -i "s|/system/etc/sony_effect/|/vendor/etc/sony_effect/|g" "${2}"
+ sed -i "s|/system/etc/tfa98xx/|/vendor/etc/tfa98xx/|g" "${2}"
+ sed -i "s|/system/lib/soundfx/|/vendor/lib/soundfx/|g" "${2}"
;;
vendor/lib/libaudioroute.so)
sed -i "s|/system/etc/mixer_paths.xml|/vendor/etc/mixer_paths.xml|g" "${2}"
diff --git a/proprietary-files.txt b/proprietary-files.txt
index 80c79c6..237fcee 100644
--- a/proprietary-files.txt
+++ b/proprietary-files.txt
@@ -19,6 +19,14 @@ vendor/lib/libaudcal.so
lib/hw/audio.primary.msm8974.so:vendor/lib/hw/audio.primary.msm8974.so
lib/libaudioroute.so:vendor/lib/libaudioroute.so
+# Audio sony effect
+etc/sony_effect/clearphase_sp_param.bin:vendor/etc/sony_effect/clearphase_sp_param.bin
+etc/sony_effect/effect_params.data:vendor/etc/sony_effect/effect_params.data
+etc/sony_effect/sforce_param_arm.bin:vendor/etc/sony_effect/sforce_param_arm.bin
+etc/sony_effect/sforce_param_qdsp.bin:vendor/etc/sony_effect/sforce_param_qdsp.bin
+etc/sony_effect/xloud_param_arm.bin:vendor/etc/sony_effect/xloud_param_arm.bin
+etc/sony_effect/xloud_param_qdsp.bin:vendor/etc/sony_effect/xloud_param_qdsp.bin
+
# Bluetooth aptX - from Motorola Moto Z NCLS25.86-11-4-6-5
vendor/lib/libaptX_encoder.so|b03772672144d4b750a5672c2922aded93bb0512