diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-06-23 02:46:45 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-06-23 02:46:45 -0500 |
| commit | eb579e4264da9523f59b960526efd9e23c88883a (patch) | |
| tree | c7e80eb2b4ec084721781111511f9e79325087bb /Source/Core/AudioCommon/Src/OpenALStream.cpp | |
| parent | 6bb7cc5fea05c05388b0a7a1e81ab98d6127ef1f (diff) | |
Merge in JP's change to fix audio stuttering with OpenAL.
Diffstat (limited to 'Source/Core/AudioCommon/Src/OpenALStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/Src/OpenALStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
