pmaports/device/device-xiaomi-santoni/device-xiaomi-santoni.post-install

7 lines
275 B
Text
Raw Normal View History

#!/bin/sh
# We make sure that tsched has not mentioned anywhere in the default PulseAudio config
if [ "$(grep -c tsched /etc/pulse/default.pa)" -lt "1" ]; then
sed -i 's/load-module module-udev-detect/load-module module-udev-detect tsched=0/g' /etc/pulse/default.pa
fi