mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
Merge in JP's change to fix audio stuttering with OpenAL.
This commit is contained in:
parent
6bb7cc5fea
commit
eb579e4264
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue