An introduction to computer audio
There is a lot to tell about this subject.
Tons of post in all kind of audio forums.
Most of them highly contradictory.
I made a separate section called Sound Quality; most of it is about PC based hardware
In the Software section you can find information on how to tune your OS.