fix warnings

This commit is contained in:
Glenn Maynard
2002-12-21 08:44:51 +00:00
parent bf4bd79cb3
commit 33f0f26912
3 changed files with 3 additions and 3 deletions
@@ -45,7 +45,7 @@ void RageSound_DSound::MixerThread()
while(!SOUNDMAN && !shutdown) Sleep(10);
if(!SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL))
LOG->Warn("Failed to set sound thread priority: %i", GetLastError()); /* XXX */
LOG->Warn(werr_ssprintf(GetLastError(), "Failed to set sound thread priority"));
while(!shutdown) {
VDCHECKPOINT;
@@ -39,7 +39,7 @@ void RageSound_DSound_Software::MixerThread()
while(!SOUNDMAN && !shutdown) Sleep(10);
if(!SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL))
LOG->Warn("Failed to set sound thread priority: %i", GetLastError()); /* XXX */
LOG->Warn(werr_ssprintf(GetLastError(), "Failed to set sound thread priority"));
while(!shutdown) {
Sleep(10);
@@ -51,7 +51,7 @@ void RageSound_WaveOut::MixerThread()
while(!SOUNDMAN && !shutdown) Sleep(10);
if(!SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL))
LOG->Warn("Failed to set sound thread priority: %i", GetLastError()); /* XXX */
LOG->Warn(werr_ssprintf(GetLastError(), "Failed to set sound thread priority"));
while(!shutdown) {
while(GetPCM())