I had this same issue, I was playing music with wired headphones from bandcamp, and when I paused music I would get click click click click
if I were to change the volume it would go away for a few seconds
I tried all reverted to the prev driver and it it stopped the click click click, but there was a loud one when changing sources or when the audio was initialized.
with the latest realtek driver I had the same clicking issue.
When I stopped using waterfox and used IE instead the problem went away.