Fixed fmod looping bug again

This commit is contained in:
Josh Yelon 2007-04-11 16:41:28 +00:00
parent 184ff2a257
commit fc25635bbc
2 changed files with 3 additions and 1 deletions

View File

@ -119,8 +119,8 @@ FmodAudioSound(AudioManager *manager, Filename file_name, bool positional) {
// Some WAV files contain a loop bit. This is not handled
// consistently. Override it.
_sound->setMode(FMOD_LOOP_OFF);
_sound->setLoopCount(-1);
_sound->setMode(FMOD_LOOP_OFF);
//This is just to collect the defaults of the sound, so we don't
//Have to query FMOD everytime for the info.

View File

@ -1082,6 +1082,8 @@ open_raw_mice()
GraphicsWindowInputDevice device =
GraphicsWindowInputDevice::pointer_only(full_id);
_input_devices.push_back(device);
glxdisplay_cat.info() << "Raw mouse " <<
inf._input_device_index << " detected: " << full_id << "\n";
any_mice = true;
} else {
close(fd);