Hi,

Here are some sources from and older version of my audio engine.

* Uses DirectSound for sample playback
* Uses MikMod for MOD playback
* Uses Ogg for OGG playback
* Uses DirectShow for MP3 playback
* Shows how to setup and use all these different playback engines via abstraction layer so that usage is seamless
* Uses a thread for background operations
* Manages up to 256 loaded samples and can manage up to 32 playing samples
* Shows how to load an uncompressed WAV file directly to a DirectSound buffer
* Shows how to decode OGG directly to a DirectSound buffer (via the background thread)
* Dynamic 2D sounds (pan, pitch, Doppler shift)
* Much more

Lots of great stuff in there. Hope that it can help you.