Thread::Sleep method added
more work on xaudio