diff options
author | Aníbal Limón <anibal.limon@linaro.org> | 2019-11-22 13:39:22 -0600 |
---|---|---|
committer | Aníbal Limón <anibal.limon@linaro.org> | 2019-11-22 13:39:49 -0600 |
commit | 63494268b654d80df033f4cdeccf8f115801b756 (patch) | |
tree | 88223f47e0e050a6dcc4a3308abf6a1efc41ac36 | |
parent | 5cd9ba5e2619537a65f6fb23be9463e56d77603b (diff) | |
download | fai-63494268b654d80df033f4cdeccf8f115801b756.tar.gz |
scripts/QCOM/21-customize: Customize pulseaudio default.pa
Add tsched=0 on module-udev-detect to fix distorted sound.
Change-Id: I94d6296a714f2495193e2564d6b04e8b2f0de776
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
-rwxr-xr-x | scripts/QCOM/21-customize | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/QCOM/21-customize b/scripts/QCOM/21-customize index 5d9fe3f..5de315d 100755 --- a/scripts/QCOM/21-customize +++ b/scripts/QCOM/21-customize @@ -15,6 +15,9 @@ if ifclass INSTALLER; then EOF fi +# Add tsched=0 on module-udev-detect to fix distorted sound +sed -i "s|^load-module module-udev-detect|load-module module-udev-detect tsched=0|" $target/etc/pulse/default.pa + # In case initrd doesn't exist, create it, else update if [ -f $target/boot/initrd.img-${KVERS} ] then |