FIXED: No audio buffer low logging when not throttling

This commit is contained in:
spacy51 2007-12-27 14:25:48 +00:00
parent 3931590c65
commit a742e02fbc
1 changed files with 1 additions and 1 deletions

View File

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