The raspberri pi isn't a dac, it's a streamer. It acts as a middleman to avoid using my PC as the source of the audio.
I'd definitely prefer a DAC with good filtering on its inputs so I wouldn't need to use a middleman, but that is expensive. One with a proper USB module with complete isolation can run ~$5000.