Ticket #8747: sword1-traffic-jarry.diff
File sword1-traffic-jarry.diff, 819 bytes (added by , 17 years ago) |
---|
-
sound.cpp
174 174 flags |= Audio::Mixer::FLAG_STEREO; 175 175 if (_fxList[elem->id].type == FX_LOOP) 176 176 flags |= Audio::Mixer::FLAG_LOOP; 177 //Workaround for FR #1266599 : Invert stereo channels for traffic sounds in Rue Jarry 178 if ((_fxList[elem->id].sampleId == 117440522 || _fxList[elem->id].sampleId == 117440521 || _fxList[elem->id].sampleId == 117440520 || _fxList[elem->id].sampleId == 117440519) && _fxList[elem->id].roomVolList[cnt].roomNo == 9) 179 flags |= Audio::Mixer::FLAG_REVERSE_STEREO; 177 180 _mixer->playRaw(Audio::Mixer::kSFXSoundType, &elem->handle, sampleData + 0x2C, size, 11025, flags, elem->id, volume, pan); 178 181 } 179 182 } else