When are the clicks happening? Are they definite clicks, or pops, or stutters during playback?
If it’s throughout your music playback and not really corresponding to anything else, check what your playback buffer is set at first, and see if it can be increased. It’s easy to find in Foobar and I believe in JRiver, but I’m not sure with Roon as i don’t have experience specifically with it myself… anyway if you can, set the playback buffer for as long/high as possible since simple playback does not require a short buffer, like say ASIO direct monitoring for recording purposes would. Longer is definitely better for playback.
Also ASIO is not very appropriate for critical listening at all despite what some devotees would claim… WASAPI is meant to be bit-perfect streaming and should handle DSD well too, bypassing everything. But outside of exclusive mode it may not be worth it if it’s causing problems, and Directsound would likely be fine, if it avoids clicks or pops it would be worth using anyway. Also you can EQ with Peace/Equalizer APO when using Directsound, unlike in WASAPI mode so that may be a consideration as well.
If the buffer isn’t the culprit you can look for processes slowing your system down. Trying monitoring RAM, processor, and disk usage during playback. Also check any interference to your external devices. Change USB cables, etc.
Finding and correcting niggling issues like this can truly be hell in a modern OS with many processes/drivers etc all vying for processor time. Short of a reformat and/or setting it up as a devoted playback PC it can very well drive you mad!
I had so many issues with a Dell laptop when attempting to use it as a devoted recording workstation. Despite it’s solid specs it just never worked right for that purpose, and many many hours of specialized setup and ultimately futile diagnosing of these issues later I just had to give up on it. Some PCs just aren’t cut out for certain things it seems. I have an HP that drives me mad with video stutters to an external display. Simple video playback! And I’ve tried basically everything under the sun. But I would hope audio playback by itself shouldn’t be an issue these days…
Good luck though, and report back what you find!