Tomas Carnecky wrote:
I'm fairly sure this all could be done in a WoW-independent way, eg. configure the hardware as the application requests it (by passing LPCDSBUFFERDESC to the low-level driver etc) and keeping track of the read/write positions could also be done in a better way.
A small update on that, I managed to indeed make it WoW-independent, I tested it with foobar2000 and the playback works fine, there is an issue with the sound volume, it keeps changing if I seek :-/
Right now I'm documenting the code, so my next patch will be a little bit better readable and easier to understand :)
tom