From 9f3fcd9b189fbe38f6ebf173bb2b52a8c6e47972 Mon Sep 17 00:00:00 2001 From: Tim Hentenaar Date: Thu, 20 Feb 2003 23:36:36 +0000 Subject: [PATCH] changed sleep() to SDL_Delay() --- stepmania/src/arch/Sound/RageSoundDriver_Linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/arch/Sound/RageSoundDriver_Linux.cpp b/stepmania/src/arch/Sound/RageSoundDriver_Linux.cpp index 5727794871..795db0a61e 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_Linux.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_Linux.cpp @@ -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()); } }