Merge in JP's change to fix audio stuttering with OpenAL.

This commit is contained in:
Ryan Houdek 2013-06-23 02:46:45 -05:00
parent 6bb7cc5fea
commit eb579e4264
1 changed files with 1 additions and 1 deletions

View File

@ -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)