From c663dde69159131984f3db0328adb4490faa6589 Mon Sep 17 00:00:00 2001 From: spacy51 Date: Thu, 27 Dec 2007 14:25:48 +0000 Subject: [PATCH] FIXED: No audio buffer low logging when not throttling git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@240 a31d4220-a93d-0410-bf67-fe4944624d44 --- src/win32/OpenAL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32/OpenAL.cpp b/src/win32/OpenAL.cpp index b30ebbe7..190e731e 100644 --- a/src/win32/OpenAL.cpp +++ b/src/win32/OpenAL.cpp @@ -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++ );