arm-rpi4: pulseaudio customization

Changed audio scheduling from timer-based to
interrupt-driven to prevent unwanted crackle.
This commit is contained in:
Dmitriy Terekhin 2020-07-07 20:57:55 +04:00 committed by Anton Midyukov
parent f30d929a45
commit 6d6cd631b6

View File

@ -0,0 +1,11 @@
#!/bin/sh -efu
# Changed audio scheduling from timer-based to
# interrupt-driven to prevent unwanted crackle.
pafile="/etc/pulse/default.pa"
if [ -f "$pafile" ]
then
sed -i 's/^load-module module-udev-detect$/load-module module-udev-detect tsched=0/' "$pafile"
fi