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:
parent
c52e4df3fc
commit
9942c8c643
|
@ -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++ );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue