add soundman wait
This commit is contained in:
@@ -37,6 +37,10 @@ void RageSound_DSound_Software::MixerThread()
|
|||||||
InitThreadData("Mixer thread");
|
InitThreadData("Mixer thread");
|
||||||
VDCHECKPOINT;
|
VDCHECKPOINT;
|
||||||
|
|
||||||
|
/* SOUNDMAN will be set once RageSoundManager's ctor returns and
|
||||||
|
* assigns it; we might get here before that happens, though. */
|
||||||
|
while(!SOUNDMAN && !shutdown) Sleep(10);
|
||||||
|
|
||||||
while(!shutdown) {
|
while(!shutdown) {
|
||||||
Sleep(10);
|
Sleep(10);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user