12 lines
268 B
Plaintext
12 lines
268 B
Plaintext
|
#!/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
|