Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save matthewhartman/cf8178a82c03a159b5db61c342aa5d86 to your computer and use it in GitHub Desktop.
Save matthewhartman/cf8178a82c03a159b5db61c342aa5d86 to your computer and use it in GitHub Desktop.
Fix Pulse Audio Crackling in Linux

Fix Pulse Audio Crackling in Linux

sudo nano /etc/pulse/default.pa

Find the following line:

load-module module-udev-detect

Modify the line to read:

load-module module-udev-detect tsched=0

Restart pulse audio:

pulseaudio -k

Try testing a 4 second mic recording and playing it back:

arecord -vv -d 4 /tmp/test-mic.wav && aplay /tmp/test-mic.wav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment