soc-qcom-sdm845: fix pops/clicks sound via alsa buffer tuning (MR 4186)

Update some alsa buffer params to solve sound quality issues

I got working values experimentally after trying
different buffer sizes and limits and watching to pw-top
to ensure there are  no errors during playback from diffrent apps and
sinks.

Contributes to #1534
This commit is contained in:
shtirlic 2023-06-17 14:58:50 +07:00 committed by Newbyte
parent cbd746d249
commit 97e752caaf
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02
2 changed files with 7 additions and 3 deletions

View file

@ -11,6 +11,10 @@ table.insert(alsa_monitor.rules,
},
apply_properties = {
["audio.format"] = "S16LE",
["audio.rate"] = 48000,
["api.alsa.period-size"] = 4096,
["api.alsa.period-num"] = 6,
["api.alsa.headroom"] = 512,
},
}
)

View file

@ -2,8 +2,8 @@
# Co-Maintainer: Joel Selvaraj <joelselvaraj.oss@gmail.com>
pkgname=soc-qcom-sdm845
pkgdesc="Common package for Qualcomm SDM845 devices"
pkgver=15
pkgrel=2
pkgver=16
pkgrel=0
url="https://postmarketos.org"
license="BSD-3-Clause"
arch="aarch64"
@ -123,7 +123,7 @@ wireplumber() {
}
sha512sums="
58b3f88767fd810ca4b379ef87945231d334a635f83e3981c0c71053915397b0543ac7d9f73f98fe4479ef1df6d2e1b82a9835b0a1a5be0e117d255fe2116d1c 51-qcom-sdm845.lua
a2eed80c1aa6bc2225aacd95888dbda7f13171008bf6433e1152be7b5148d03cad7bc1de081c64a3131e9fac12f75984f22be92e0f6162d524ce4c2db3bb82ba 51-qcom-sdm845.lua
4f2c22a3a3fc7d380e200ad977578107d81f0e7ade7918e03bdb15b60a564e8db5f47e13cce22f636d38fd3722696bb46076b8872dae0ca2d8a3838522a1f025 90-feedbackd-pmi8998.rules
9d455b56558d453d501a1ad869ffa79f9952ed43485a9847d506db6a78bfcd9f9c9d855660ee1d368eb74f4429385ec166addc30d802261c75562e785fe84c52 UPower.conf
e55545b0b319bb0cb7e8c6ca961828f7e8c389f97b45492e0c432b9bbd5d3158359828e852ceac68cbead4f850c19e06ac565dac2dcae11d40486ba641e3e7ec alsa-ucm-conf-9ed12836b269764c4a853411d38ccb6abb70b383.tar.gz