|
|
@@ -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.
|