I don't think your computer has much to do with it.
Are you using a sound-card, a receiver, or both?
What kind of connection are you using?...HDMI, coax, toslink, or component/analog?
What files are you playing (for music?)...compressed mp3's or high quality CD files?