Commit 6d6cd631 authored by Dmitriy Terekhin's avatar Dmitriy Terekhin Committed by Anton Midyukov

arm-rpi4: pulseaudio customization

Changed audio scheduling from timer-based to interrupt-driven to prevent unwanted crackle.
parent f30d929a
#!/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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment