mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
805b922c9a
commit
a973f63bb0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue