Skip to content

Commit 7c869fa

Browse files
committed
v3.3
1 parent 08d811f commit 7c869fa

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

.gitattributes

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Declare files that will always have LF line endings on checkout.
2-
*.sh text eol=lf
3-
*.prop text eol=lf
4-
*.md text eol=lf
1+
# Declare files that will always have LF line endings on checkout.
2+
*.sh text eol=lf
3+
*.prop text eol=lf
4+
*.md text eol=lf
55
META-INF/** text eol=lf

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ AudModLib is a compatibility framework that allows the seamless integration of m
33
To uninstall, REMOVE WITH MAGISK MANAGER
44

55
## Change Log
6+
### v3.3 - 03.26.2020
7+
* Fixes for Magisk v20.4
8+
69
### v3.2 - 03.17.2020
710
* Restructured script for better efficiency/faster running time - may fix xposed issues
811
* Fix prop issue where non-aml supported mods were affected

module.prop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
id=aml
22
name=Audio Modification Library
3-
version=v3.2
4-
versionCode=51
3+
version=v3.3
4+
versionCode=52
55
author=zackptg5, ahrion
66
description=AudModLib is a framework that allows the seamless integration of multiple audio mods in Magisk.
77
support=https://forum.xda-developers.com/apps/magisk/module-audio-modification-library-t3579612

post-fs-data.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ MAGISKTMP=
55
API=
66
IS64BIT=
77
libdir=
8-
set -x 2>$MODPATH/debug.log
8+
exec 2>$MODPATH/debug.log
9+
set -x
910
echo `date +%S`
1011
moddir=$(dirname $MODPATH)
1112
amldir=/data/adb/aml
@@ -227,7 +228,7 @@ for mod in $(find $moddir/* -maxdepth 0 -type d ! -name "aml"); do
227228
modname="$(basename $mod)"
228229
[ -f "$mod/disable" ] && continue
229230
# Move files
230-
files="$(find $mod/system -type f -name "*audio_effects*.conf" -o -name "*audio_effects*.xml" -o -name "*audio_*policy*.conf" -o -name "*audio_*policy*.xml" -o -name "*mixer_paths*.xml" -o -name "*mixer_gains*.xml" -o -name "*audio_device*.xml" -o -name "*sapa_feature*.xml" -o -name "*audio_platform_info*.xml" -o -name "*audio_configs*.xml" -o -name "*audio_device*.xml")"
231+
files="$(find $mod/system -type f -name "*audio_effects*.conf" -o -name "*audio_effects*.xml" -o -name "*audio_*policy*.conf" -o -name "*audio_*policy*.xml" -o -name "*mixer_paths*.xml" -o -name "*mixer_gains*.xml" -o -name "*audio_device*.xml" -o -name "*sapa_feature*.xml" -o -name "*audio_platform_info*.xml" -o -name "*audio_configs*.xml" -o -name "*audio_device*.xml" 2>/dev/null)"
231232
[ "$files" ] && echo "$modname" >> $amldir/modlist
232233
for file in $files; do
233234
cp_mv -m $file $amldir/$modname/$(echo "$file" | sed "s|$mod/||")
@@ -242,7 +243,7 @@ for mod in $(find $moddir/* -maxdepth 0 -type d ! -name "aml"); do
242243
fi
243244
else
244245
# Favor vendor libs over system ones, no aml builtins are 64bit only - use 32bit lib dir
245-
libs="$(find $mod/system/vendor/lib/soundfx $mod/system/lib/soundfx -type f <libs>)"
246+
libs="$(find $mod/system/vendor/lib/soundfx $mod/system/lib/soundfx -type f <libs> 2>/dev/null)"
246247
for lib in $libs; do
247248
for audmod in $MODPATH/.scripts/$(basename $lib)~*; do
248249
uuid=$(basename $audmod | sed -r "s/.*~(.*).sh/\1/")

0 commit comments

Comments
 (0)