mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Fixed looping bug, maybe
This commit is contained in:
parent
929d371b8f
commit
2443e6c76a
@ -117,8 +117,10 @@ FmodAudioSound(AudioManager *manager, Filename file_name, bool positional) {
|
||||
fmod_audio_errcheck("createSound (blank)", result);
|
||||
}
|
||||
|
||||
result->setMode(FMOD_LOOP_OFF);
|
||||
result->setLoopCount(-1);
|
||||
// Some WAV files contain a loop bit. This is not handled
|
||||
// consistently. Override it.
|
||||
_sound->setMode(FMOD_LOOP_OFF);
|
||||
_sound->setLoopCount(-1);
|
||||
|
||||
//This is just to collect the defaults of the sound, so we don't
|
||||
//Have to query FMOD everytime for the info.
|
||||
|
Loading…
x
Reference in New Issue
Block a user