Refactored some anim/area sound classes

This commit is contained in:
Pazaz 2022-04-28 02:35:11 -04:00
parent dbca509eb5
commit fd3572f709
108 changed files with 1063 additions and 1078 deletions

View file

@ -104,10 +104,10 @@ public class SoundPlayer {
local209 = Preferences.ambientSoundsVolume * (local125 - local180) / local125;
}
if (local209 > 0) {
@Pc(223) PcmSound local223 = local79.method3989().method2648(client.resampler);
@Pc(228) SoundPcmStream local228 = Static284.method404(local223, local209);
local228.method396(anIntArray563[local5] - 1);
client.soundStream.method1343(local228);
@Pc(223) PcmSound local223 = local79.toPcmSound().resample(client.resampler);
@Pc(228) SoundPcmStream local228 = SoundPcmStream.create(local223, local209);
local228.setLoops(anIntArray563[local5] - 1);
client.soundStream.addSubStream(local228);
}
anIntArray362[local5] = -100;
}