Small change

This commit is contained in:
spacy51 2008-05-20 14:32:21 +00:00
parent 8552ce65fa
commit e62eec4e60
2 changed files with 2 additions and 2 deletions

View File

@ -294,7 +294,7 @@ void OpenAL::write()
// we only want to know about it when we are emulating at full speed or faster:
if( ( theApp.throttle >= 100 ) || ( theApp.throttle == 0 ) ) {
if( systemVerbose & VERBOSE_SOUNDOUTPUT ) {
static int i = 0;
static unsigned int i = 0;
log( "OpenAL: Buffers were not refilled fast enough (i=%i)\n", i++ );
}
}

View File

@ -254,7 +254,6 @@ void XAudio2_Output::write()
ASSERT( vState.BuffersQueued <= NBUFFERS );
if( vState.BuffersQueued < NBUFFERS ) {
// there is at least one free buffer
#ifdef _DEBUG
if( vState.BuffersQueued == 0 ) {
// buffers ran dry
@ -264,6 +263,7 @@ void XAudio2_Output::write()
}
}
#endif
// there is at least one free buffer
break;
} else {
// the maximum number of buffers is currently queued