You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
268 B
12 lines
268 B
3 years ago
|
#!/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
|