Hi there

Very easy to reproduce on my hardware, see if it happens for you too:

Set output method to DirectSound 2. Stop playback if not already done and immediately play a track of 96kHz, then skip to a track of 44.1kHz at any point. Ouch! Doesn't seem to happen the other way around.

Similar effect is encountered with DS1, though you have to skip ahead to the end of the first track instead of forcing a track skip.

No such problems with waveOut at all. [edit - my bad]
With my limited knowledge of how DirectSound works, I have my suspiscions that this bug is due to the buffering of the audio streams, ie. the stream is open at 96kHz then a 44kHz stream is sent to it without changing frequency. Not sure how on earth this would be accomplished with the fading features of DS2, maybe they should be disabled when changing tracks?

My audio hardware is a M-Audio Delta Audiophile 2496

Thanks!