changed sleep() to SDL_Delay()

This commit is contained in:
Tim Hentenaar
2003-02-20 23:36:36 +00:00
parent 62ed523253
commit 9f3fcd9b18
@@ -265,7 +265,7 @@ int RageSound_Linux::MixerThread_start(void *p) {
void RageSound_Linux::MixerThread() {
/* 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(!SOUNDMAN && !shutdown) SDL_Delay(10);
while(!shutdown) { while (GetData()); }
}