Some devices have decent analog outputs. Apple's had a good history with their laptops. Most suck, all of the pi's analog outputs suck, there's too much noise and they don't have proper amp circuits and so aren't able to maintain full frequency response under a load. I wear IEM's that are extremely sensitive, so any noise gets picked up inside the system if it's not well isolated, yet because of the earlier mentioned problem they won't get full bass response. This leaves the sound very thin and noisy.
But that wasn't even my point. My point was: Any sort of sound being sent out of the device should be digital (pci-e to a sound card, USB to a headphone DAC, or HDMI/toslink/coax to a receiver). All of those options mostly eliminate the noise problem when done right.