I am having this exact same issue pretty much 1-1 carbon copy. Audio is horribly poppy and cracky and its unbareable, but the issue goes if I restart and then comes back if I shutdown.
Massive bets that this is a Windows issue, however I literally just reinstalled windows 10 on a new drive and the issue persists. Hmmmmm.
Could you share your computer specifications if maybe there are some hardware similarities?
i5 8600k Z370P HD3 Gigabyte Motherboard
GTX 1080 Zotac Mini
Windows on NVME M.2 WD Black
16GB DDR4 3200MHz Corsair Vengeance
750W Cooler Master PSU
Not sure if most of that is relevant but I have also tried every """solution""" under the bus and its like shouting into a wall, nothing works, and restarting the computer is the only (temporary) solution I can find to the issue. Its honestly infuriating.
EDIT: I even purchased a separate sound card, which flags to me that this is some kind of software issue, likely Microsoft or Realteks doing somewhere.