Update (28.10.06): Added support for looping, fixed some small bugs, added a new class "WAVPlayer" which simplifies streaming playback a lot. ///// Shows how to stream sound data to the WaveOut.
Supports the WAV file format and the ACM (audio compression manager), to handle compressed WAV formats. Uses Paul Catons subclassing code.
I tried to keep it as reusable as possible,
so there are 2 classes: One reads (or decodes) data from WAV files, and one sends it to the WaveOut.