mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
Merge in JP's change to fix audio stuttering with OpenAL.
This commit is contained in:
parent
6bb7cc5fea
commit
eb579e4264
@ -231,7 +231,7 @@ void OpenALStream::SoundLoop()
|
|||||||
|
|
||||||
unsigned int nSamples = soundTouch.receiveSamples(sampleBuffer, OAL_MAX_SAMPLES * numBuffers);
|
unsigned int nSamples = soundTouch.receiveSamples(sampleBuffer, OAL_MAX_SAMPLES * numBuffers);
|
||||||
|
|
||||||
if (nSamples < minSamples)
|
if (nSamples <= minSamples)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Remove the Buffer from the Queue. (uiBuffer contains the Buffer ID for the unqueued Buffer)
|
// Remove the Buffer from the Queue. (uiBuffer contains the Buffer ID for the unqueued Buffer)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user