Commits

Bart van Strien  committed 490301c

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

  • Participants
  • Parent commits d99ed70

Comments (0)

Files changed (1)

File src/modules/audio/openal/Source.cpp

 	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);