6d6cd631b6
Changed audio scheduling from timer-based to interrupt-driven to prevent unwanted crackle.
12 lines
268 B
Bash
Executable File
12 lines
268 B
Bash
Executable File
#!/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
|