I just wanted to say that I've found a workaround that essentially fixes the issue.
On my machine, the crackling rarely occurs, most of the time it is fine. So when the issue does appear, I simply do this: right click on the speaker icon in windows, and toggle the "Spatial Sound (Windows Sonic for Headphones)" and the issue goes away for a few hours. While it is annoying to do this, I have to do it so infrequently that I don't really consider it a problem anymore.
I hope that this solution works for other people as well.