Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
* Tuned USB transfer period sizes
  • Loading branch information
yzyhk904 authored Oct 3, 2023
1 parent f66b27f commit 22a45e3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Change logs

# v1.5.3
* Tuned USB transfer period sizes

# v1.5.2
* Tuned USB transfer period sizes

Expand Down
4 changes: 2 additions & 2 deletions customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ function replaceSystemProps_SDM845()
function replaceSystemProps_SDM()
{
sed -i \
-e 's/vendor\.audio\.usb\.perio=.*$/vendor\.audio\.usb\.perio=2500/' \
-e 's/vendor\.audio\.usb\.out\.period_us=.*$/vendor\.audio\.usb\.out\.period_us=2500/' \
-e 's/vendor\.audio\.usb\.perio=.*$/vendor\.audio\.usb\.perio=2750/' \
-e 's/vendor\.audio\.usb\.out\.period_us=.*$/vendor\.audio\.usb\.out\.period_us=2750/' \
"$MODPATH/system.prop"
}

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=usb-samplerate-unlocker
name=USB Samplerate Unlocker
version=v1.5.2
versionCode=1502
version=v1.5.3
versionCode=1503
author=zyhk
description=USB (HAL) audio class drivers have a limiter of sample rates at 96kHz. This mod unlocks the limiter.

0 comments on commit 22a45e3

Please sign in to comment.