Merge in JP's change to fix audio stuttering with OpenAL.
This commit is contained in:
1 parent
6bb7cc5fea
commit
eb579e4264
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user