mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Apply patch that fixes "random" looping of streaming sources (issue #630)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user