arm-rpi4: pulseaudio customization
Changed audio scheduling from timer-based to interrupt-driven to prevent unwanted crackle.
This commit is contained in:
parent
f30d929a45
commit
6d6cd631b6
11
features.in/arm-rpi4/image-scripts.d/82-timer-based-to-interrupt-driven
Executable file
11
features.in/arm-rpi4/image-scripts.d/82-timer-based-to-interrupt-driven
Executable 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
|
Loading…
Reference in New Issue
Block a user