Small change
This commit is contained in:
parent
8552ce65fa
commit
e62eec4e60
|
@ -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