Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Added an exception for Asius Zenfone 9 to change its Bluetooth HAL form "bluetooth"  to "bluetooth_qti"
  • Loading branch information
yzyhk904 authored Dec 11, 2024
1 parent ea3e89c commit a57df2f
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 6 deletions.
5 changes: 4 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
## Change logs

# v1.1.2
* Added an exception for Asius Zenfone 9 to change its Bluetooth HAL form "bluetooth" to "bluetooth_qti"

# v1.1.1
* Tuned I/O scheduler tunables for Kernel 5.x and 6.x
* Added a workaround for a DRC inverted bug of POCO F6 crDroid 14.0 (Nov. 27, 2024 and later) ROM's
* Added a workaround for a DRC inverted bug of POCO F6 crDroid 10.x (Nov. 27, 2024 and later) ROM's

# v1.1.0
* Moved to Magisk-Module-Alt-Repo
Expand Down
12 changes: 11 additions & 1 deletion customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ case "`getprop ro.board.platform`" in
;;
"pineapple" )
# POCO F6 cannot output AOSP "bluetooth" driver, but "bluetooth_qti" driver can except its offload driver
if [ "$BT_module" = "bluetooth" ]; then
if [ -e "/vendor/lib64/hw/audio.bluetooth_qti.default.so" ]; then
BT_module="bluetooth_qti"
fi
# Workaround for a DRC inverted bug of POCO F6 crDroid 14.0 (Nov. 27, 2024 and later) ROM's
Expand All @@ -80,6 +80,16 @@ case "`getprop ro.board.platform`" in
SampleRatePrimary="48000"
;;
* )
case "`getprop ro.product.board`" in
" taro" )
# for Asus Zenfone 9
if [ -e "/vendor/lib64/hw/audio.bluetooth_qti.default.so" ]; then
BT_module="bluetooth_qti"
fi
;;
* )
;;
esac
;;
esac

Expand Down
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id=audio-samplerate-changer
name=Audio samplerate changer
version=v1.1.1
versionCode=1101
version=v1.1.2
versionCode=1102
author=zyhk
description=A Magisk module changing audio samplerates at the system-wide mixer for the best Hi-Fi experience.
4 changes: 2 additions & 2 deletions service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ if [ \( -e "${MODDIR%/*/*}/modules/resampling-for-cheapies" -a ! -e "${MODDIR%
resetprop ro.audio.resampler.psd.halflength 520

# If you feel your LDAC earphones or "cheapie" DAC wouldn't become to sound well or loses mellowness at all,
# try replacing "85" (below) with "86" or "87" for appropriately cutting off ultrasonic noise causing intermodulation
# try replacing "85" (below) with "84", "86" or "87" for appropriately cutting off ultrasonic noise causing intermodulation
#
resetprop ro.audio.resampler.psd.cutoff_percent 85

# Uncomment the following resetprop lines if you intend to replay only 44.1 kHz & 16 and 24 bit tracks;
# If you feel your LDAC earphones or "cheapie" DAC wouldn't become to sound well or loses mellowness at all,
# try replacing "93" (below) with "94" or "95" for appropriately cutting off ultrasonic noise causing intermodulation
# try replacing "93" (below) with "92", "94" or "95" for appropriately cutting off ultrasonic noise causing intermodulation
#
#resetprop ro.audio.resampler.psd.stopband 179
#resetprop ro.audio.resampler.psd.cutoff_percent 93
Expand Down

0 comments on commit a57df2f

Please sign in to comment.