Skip to content

Instantly share code, notes, and snippets.

@Lewiscowles1986
Created January 7, 2018 22:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lewiscowles1986/8a372ad532779e02b3cbcb1382809a09 to your computer and use it in GitHub Desktop.
Save Lewiscowles1986/8a372ad532779e02b3cbcb1382809a09 to your computer and use it in GitHub Desktop.
Fix Bluetooth Pulseaudio .5s lag
#!/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