Foobar2000:Preferences:Output
DirectSound
DirectSound v2.0
Kernel Streaming
Note: No one has provided non-anecdotal proof that using Kernel Streaming instead of DirectSound or waveOut provides higher audio quality.