Apply patch that fixes "random" looping of streaming sources (issue #630)

This commit is contained in:
Bart van Strien
2013-06-14 14:12:28 +02:00
parent 03f5bd9a5a
commit 5d2b20a662
+1
View File
@@ -449,6 +449,7 @@ void Source::playAtomic()
alSourcef(source, AL_REFERENCE_DISTANCE, referenceDistance);
alSourcef(source, AL_ROLLOFF_FACTOR, rolloffFactor);
alSourcef(source, AL_MAX_DISTANCE, maxDistance);
alSourcei(source, AL_LOOPING, isLooping() ? AL_TRUE : AL_FALSE);
alSourcePlay(source);