Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge in JP's change to fix audio stuttering with OpenAL.
  • Loading branch information
Sonicadvance1 committed Jun 23, 2013
1 parent 6bb7cc5 commit eb579e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/AudioCommon/Src/OpenALStream.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit eb579e4

Please sign in to comment.