fix warnings
This commit is contained in:
@@ -45,7 +45,7 @@ void RageSound_DSound::MixerThread()
|
|||||||
while(!SOUNDMAN && !shutdown) Sleep(10);
|
while(!SOUNDMAN && !shutdown) Sleep(10);
|
||||||
|
|
||||||
if(!SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL))
|
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(!shutdown) {
|
||||||
VDCHECKPOINT;
|
VDCHECKPOINT;
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ void RageSound_DSound_Software::MixerThread()
|
|||||||
while(!SOUNDMAN && !shutdown) Sleep(10);
|
while(!SOUNDMAN && !shutdown) Sleep(10);
|
||||||
|
|
||||||
if(!SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL))
|
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(!shutdown) {
|
||||||
Sleep(10);
|
Sleep(10);
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ void RageSound_WaveOut::MixerThread()
|
|||||||
while(!SOUNDMAN && !shutdown) Sleep(10);
|
while(!SOUNDMAN && !shutdown) Sleep(10);
|
||||||
|
|
||||||
if(!SetThreadPriority(GetCurrentThread(), THREAD_PRIORITY_ABOVE_NORMAL))
|
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(!shutdown) {
|
||||||
while(GetPCM())
|
while(GetPCM())
|
||||||
|
|||||||
Reference in New Issue
Block a user