SPU2Ghz: Commented out a Sleep() call in xaudio2. It made the GUI not respond for several seconds when pressing escape to pause emulation

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@297 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
ramapcsx2 2008-11-05 12:02:06 +00:00 committed by Gregory Hainaut
parent 805b922c9a
commit a973f63bb0
1 changed files with 2 additions and 1 deletions

View File

@ -179,7 +179,8 @@ public:
pSourceVoice->Stop( 0 );
pSourceVoice->FlushSourceBuffers();
pSourceVoice->DestroyVoice();
Sleep(50); // give the engine some time to stop voices
//The following sleep interferes with pcsx2, disable it for now (rama)
//Sleep(50); // give the engine some time to stop voices
pSourceVoice = NULL;
voiceContext.pSourceVoice = NULL;
voiceContext.sndout = NULL;