Small change

git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@523 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
spacy51 2008-05-20 14:32:21 +00:00
parent c52e4df3fc
commit 9942c8c643
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