Fix DirectSound looping, add eos behaviour, keep track of buffer wrapping.
Fix DirectSound looping, add eos behaviour, keep track of buffer wrapping.

adamlwgriffiths/Pyglet,seeminglee/pyglet64,adamlwgriffiths/Pyglet,seeminglee/pyglet64,adamlwgriffiths/Pyglet,seeminglee/pyglet64,niklaskorz/pyglet,niklaskorz/pyglet,niklaskorz/pyglet,niklaskorz/pyglet,adamlwgriffiths/Pyglet