Created
January 7, 2018 22:51
-
-
Save Lewiscowles1986/8a372ad532779e02b3cbcb1382809a09 to your computer and use it in GitHub Desktop.
Fix Bluetooth Pulseaudio .5s lag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir -p ~/.pulse | |
cp /etc/pulse/default.pa ~/.pulse/default.pa | |
sed -i '' 's/load-module module-udev-detect/load-module module-udev-detect tsched=0/g' ~/.pulse/default.pa | |
sudo -c 'echo <<EOF | |
[General] | |
Enable=Gateway,Source | |
Master=true | |
Disable=Socket | |
[Headset] | |
FastConnectable=true | |
[A2DP] | |
EOF > /etc/bluetooth/audio.conf' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment