mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 00:15:15 -06:00
Refactored some anim/area sound classes
This commit is contained in:
parent
dbca509eb5
commit
fd3572f709
108 changed files with 1063 additions and 1078 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue