Articles on: Tips & tricks

[Linux only] Audio issue (crackling noise/echo)

This behavior refers to an audio issue caused by the newer implementation of the PulseAudio sound server that uses timer-based audio scheduling instead of the traditional, interrupt-driven approach.


To stop the behavior please disable the timer-based scheduling in Pulseaudio


To turn timer-based scheduling off add tsched=0 in /etc/pulse/default.pa:

/etc/pulse/default.pa
load-module module-udev-detect tsched=0

Then restart the PulseAudio server:

$ pulseaudio -k
$ pulseaudio --start

Do the reverse to enable timer-based scheduling, if not already enabled by default.


Updated on: 02/07/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!