From eb579e4264da9523f59b960526efd9e23c88883a Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sun, 23 Jun 2013 02:46:45 -0500 Subject: [PATCH] Merge in JP's change to fix audio stuttering with OpenAL. --- Source/Core/AudioCommon/Src/OpenALStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/AudioCommon/Src/OpenALStream.cpp b/Source/Core/AudioCommon/Src/OpenALStream.cpp index 1c6467b801..ce59dc6c57 100644 --- a/Source/Core/AudioCommon/Src/OpenALStream.cpp +++ b/Source/Core/AudioCommon/Src/OpenALStream.cpp @@ -231,7 +231,7 @@ void OpenALStream::SoundLoop() unsigned int nSamples = soundTouch.receiveSamples(sampleBuffer, OAL_MAX_SAMPLES * numBuffers); - if (nSamples < minSamples) + if (nSamples <= minSamples) continue; // Remove the Buffer from the Queue. (uiBuffer contains the Buffer ID for the unqueued Buffer)