I've set up a Windows HLK (Hardware Lab Kit, documentation here) server and run some audio related HLK tests to verify audio components I worked on.
After several tests I restarted the test machine (Windows 10), and noticed that my sound seems to be messed up. When I play audio, at first it sounds OK. However, when I move the mouse or just click on Start button with it, the sound crackles. Also, when I lounch an app, it also crackles. Closing a single tab in the browser gives a crackle. CPU usage triggers it?
I unplugged all usb devices from the laptop, but it didn't help. I tried reinstalling an audio device (Realtek), turned off all sound enhancements, tried pretty much everything in the settings related to audio. Still, the sound crackles. Happens on both laptop speakers, headphones, or USB headphones (much more heavily on USB headphones).
What could be the problem? How could OS/user activity cause crackling?