add soundman wait

This commit is contained in:
Glenn Maynard
2002-12-21 02:10:17 +00:00
parent 5f5db5d2ef
commit 7a1bc59cb2
@@ -36,6 +36,10 @@ void RageSound_DSound_Software::MixerThread()
{
InitThreadData("Mixer thread");
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) {
Sleep(10);