Partially refactor the AudioChannel class

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 4 years ago
parent 9e12bce93c
commit 77970f4681
  1. 298
      share/deob/map/client.yaml

@ -100,7 +100,7 @@ classes:
client!ih: "Class4_Sub12" client!ih: "Class4_Sub12"
client!ij: "Class4_Sub3_Sub11" client!ij: "Class4_Sub3_Sub11"
client!ik: "Class89" client!ik: "Class89"
client!im: "Class91" client!im: "AudioThread"
client!in: "Class11_Sub4" client!in: "Class11_Sub4"
client!io: "Class4_Sub13" client!io: "Class4_Sub13"
client!j: "Class4_Sub14" client!j: "Class4_Sub14"
@ -118,7 +118,7 @@ classes:
client!jm: "MouseRecorder" client!jm: "MouseRecorder"
client!jn: "Class4_Sub3_Sub14_Sub1_Sub1" client!jn: "Class4_Sub3_Sub14_Sub1_Sub1"
client!jo: "Class4_Sub1" client!jo: "Class4_Sub1"
client!kb: "Class102_Sub1" client!kb: "JavaAudioChannel"
client!kc: "Class103" client!kc: "Class103"
client!ke: "Class4_Sub3_Sub5_Sub2" client!ke: "Class4_Sub3_Sub5_Sub2"
client!kf: "Bzip2DState" client!kf: "Bzip2DState"
@ -164,7 +164,7 @@ classes:
client!nh: "Class4_Sub19" client!nh: "Class4_Sub19"
client!ni: "Node" client!ni: "Node"
client!nk: "Interface4" client!nk: "Interface4"
client!nm: "Class102_Sub2" client!nm: "SignLinkAudioChannel"
client!nn: "MiscTimer" client!nn: "MiscTimer"
client!no: "Class4_Sub1_Sub19" client!no: "Class4_Sub1_Sub19"
client!o: "Class53_Sub5" client!o: "Class53_Sub5"
@ -247,7 +247,7 @@ classes:
client!tf: "Class4_Sub6" client!tf: "Class4_Sub6"
client!tg: "Class4_Sub31" client!tg: "Class4_Sub31"
client!ti: "Class4_Sub1_Sub35" client!ti: "Class4_Sub1_Sub35"
client!tj: "Class102" client!tj: "AudioChannel"
client!tm: "ImageProducerFrameBuffer" client!tm: "ImageProducerFrameBuffer"
client!tn: "AbstractWorld" client!tn: "AbstractWorld"
client!to: "Class166" client!to: "Class166"
@ -1026,8 +1026,8 @@ fields:
owner: "Class4_Sub1_Sub3" owner: "Class4_Sub1_Sub3"
name: "anInt501" name: "anInt501"
client!ca.Z Lclient!tj;: client!ca.Z Lclient!tj;:
owner: "Static1" owner: "client"
name: "aClass102_1" name: "musicChannel"
client!ca.bb I: client!ca.bb I:
owner: "Static1" owner: "Static1"
name: "anInt504" name: "anInt504"
@ -4155,20 +4155,20 @@ fields:
owner: "Static3" owner: "Static3"
name: "anIntArray217" name: "anIntArray217"
client!im.c Z: client!im.c Z:
owner: "Class91" owner: "AudioThread"
name: "aBoolean170" name: "stop"
client!im.e Lsignlink!pm;: client!im.e Lsignlink!pm;:
owner: "Class91" owner: "AudioThread"
name: "aClass196_2" name: "signLink"
client!im.f [Lclient!tj;: client!im.f [Lclient!tj;:
owner: "Class91" owner: "AudioThread"
name: "aClass102Array1" name: "channels"
client!im.h Lclient!jh;: client!im.h Lclient!jh;:
owner: "Static3" owner: "Static3"
name: "aClass96_1" name: "aClass96_1"
client!im.j Z: client!im.j Z:
owner: "Class91" owner: "AudioThread"
name: "aBoolean171" name: "running"
client!im.k [Lclient!ma;: client!im.k [Lclient!ma;:
owner: "Static3" owner: "Static3"
name: "aClass56Array3" name: "aClass56Array3"
@ -4527,8 +4527,8 @@ fields:
owner: "Js5" owner: "Js5"
name: "RAISE_EXCEPTIONS" name: "RAISE_EXCEPTIONS"
client!jk.s Z: client!jk.s Z:
owner: "Static4" owner: "AudioChannel"
name: "aBoolean183" name: "stereo"
client!jk.t I: client!jk.t I:
owner: "Static4" owner: "Static4"
name: "anInt2643" name: "anInt2643"
@ -4539,8 +4539,8 @@ fields:
owner: "Static4" owner: "Static4"
name: "anIntArray231" name: "anIntArray231"
client!jk.w Lclient!im;: client!jk.w Lclient!im;:
owner: "Static4" owner: "AudioChannel"
name: "aClass91_1" name: "thread"
client!jk.x Lclient!ic;: client!jk.x Lclient!ic;:
owner: "Class98" owner: "Class98"
name: "aClass84_12" name: "aClass84_12"
@ -4683,20 +4683,20 @@ fields:
owner: "Static4" owner: "Static4"
name: "aBoolean189" name: "aBoolean189"
client!kb.M Z: client!kb.M Z:
owner: "Class102_Sub1" owner: "JavaAudioChannel"
name: "aBoolean196" name: "reopenAfterFlush"
client!kb.N Ljavax/sound/sampled/SourceDataLine;: client!kb.N Ljavax/sound/sampled/SourceDataLine;:
owner: "Class102_Sub1" owner: "JavaAudioChannel"
name: "aSourceDataLine1" name: "line"
client!kb.O I: client!kb.O I:
owner: "Class102_Sub1" owner: "JavaAudioChannel"
name: "anInt2805" name: "lineBufferSize"
client!kb.P Ljavax/sound/sampled/AudioFormat;: client!kb.P Ljavax/sound/sampled/AudioFormat;:
owner: "Class102_Sub1" owner: "JavaAudioChannel"
name: "anAudioFormat1" name: "format"
client!kb.Q [B: client!kb.Q [B:
owner: "Class102_Sub1" owner: "JavaAudioChannel"
name: "aByteArray20" name: "binarySamples"
client!kc.a I: client!kc.a I:
owner: "Class103" owner: "Class103"
name: "anInt2806" name: "anInt2806"
@ -5472,8 +5472,8 @@ fields:
owner: "Class4_Sub3_Sub15" owner: "Class4_Sub3_Sub15"
name: "anIntArray307" name: "anIntArray307"
client!ln.T I: client!ln.T I:
owner: "Static4" owner: "AudioChannel"
name: "anInt3257" name: "threadPriority"
client!ln.V S: client!ln.V S:
owner: "Static4" owner: "Static4"
name: "aShort25" name: "aShort25"
@ -6771,11 +6771,11 @@ fields:
owner: "LocalisedText" owner: "LocalisedText"
name: "MAINLOAD50B" name: "MAINLOAD50B"
client!nm.M I: client!nm.M I:
owner: "Class102_Sub2" owner: "SignLinkAudioChannel"
name: "anInt3600" name: "channel"
client!nm.N Lsignlink!le;: client!nm.N Lsignlink!le;:
owner: "Static5" owner: "SignLinkAudioChannel"
name: "anInterface5_1" name: "audioSource"
client!nn.f J: client!nn.f J:
owner: "MiscTimer" owner: "MiscTimer"
name: "time" name: "time"
@ -9075,8 +9075,8 @@ fields:
owner: "Class4_Sub1_Sub29" owner: "Class4_Sub1_Sub29"
name: "anInt4748" name: "anInt4748"
client!sc.fb Lclient!tj;: client!sc.fb Lclient!tj;:
owner: "Static6" owner: "client"
name: "aClass102_2" name: "soundChannel"
client!sc.gb Lclient!fh;: client!sc.gb Lclient!fh;:
owner: "client" owner: "client"
name: "js5Archive18" name: "js5Archive18"
@ -9828,64 +9828,64 @@ fields:
owner: "Static6" owner: "Static6"
name: "aShortArrayArray7" name: "aShortArrayArray7"
client!tj.A I: client!tj.A I:
owner: "Class102" owner: "AudioChannel"
name: "anInt3593" name: "anInt3593"
client!tj.B I: client!tj.B I:
owner: "Class102" owner: "AudioChannel"
name: "anInt3594" name: "anInt3594"
client!tj.C I: client!tj.C I:
owner: "Class102" owner: "AudioChannel"
name: "anInt3595" name: "sampleRate"
client!tj.D [Lclient!tf;: client!tj.D [Lclient!tf;:
owner: "Class102" owner: "AudioChannel"
name: "aClass4_Sub6Array5" name: "aClass4_Sub6Array5"
client!tj.E I: client!tj.E I:
owner: "Class102" owner: "AudioChannel"
name: "anInt3596" name: "bufferSize"
client!tj.F [Lclient!tf;: client!tj.F [Lclient!tf;:
owner: "Class102" owner: "AudioChannel"
name: "aClass4_Sub6Array6" name: "aClass4_Sub6Array6"
client!tj.G I: client!tj.G I:
owner: "Class102" owner: "AudioChannel"
name: "anInt3597" name: "anInt3597"
client!tj.H I: client!tj.H I:
owner: "Class102" owner: "AudioChannel"
name: "anInt3598" name: "anInt3598"
client!tj.I J: client!tj.I J:
owner: "Class102" owner: "AudioChannel"
name: "aLong128" name: "aLong128"
client!tj.K J: client!tj.K J:
owner: "Class102" owner: "AudioChannel"
name: "aLong129" name: "closeUntil"
client!tj.L Z: client!tj.L Z:
owner: "Class102" owner: "AudioChannel"
name: "aBoolean260" name: "aBoolean260"
client!tj.b Lclient!tf;: client!tj.b Lclient!tf;:
owner: "Class102" owner: "AudioChannel"
name: "aClass4_Sub6_7" name: "aClass4_Sub6_7"
client!tj.e J: client!tj.e J:
owner: "Class102" owner: "AudioChannel"
name: "aLong126" name: "aLong126"
client!tj.g I: client!tj.g I:
owner: "Class102" owner: "AudioChannel"
name: "anInt3577" name: "anInt3577"
client!tj.h Z: client!tj.h Z:
owner: "Static6" owner: "Static6"
name: "aBoolean258" name: "aBoolean258"
client!tj.o [I: client!tj.o [I:
owner: "Class102" owner: "AudioChannel"
name: "anIntArray393" name: "samples"
client!tj.q J: client!tj.q J:
owner: "Static6" owner: "Static6"
name: "aLong127" name: "aLong127"
client!tj.r Z: client!tj.r Z:
owner: "Class102" owner: "AudioChannel"
name: "aBoolean259" name: "aBoolean259"
client!tj.s I: client!tj.s I:
owner: "Static6" owner: "Static6"
name: "anInt3585" name: "anInt3585"
client!tj.z I: client!tj.z I:
owner: "Class102" owner: "AudioChannel"
name: "anInt3592" name: "anInt3592"
client!tk.a I: client!tk.a I:
owner: "Static6" owner: "Static6"
@ -10513,7 +10513,7 @@ fields:
name: "aClass4_Sub31_2" name: "aClass4_Sub31_2"
client!um.a I: client!um.a I:
owner: "Static7" owner: "Static7"
name: "anInt5394" name: "sampleRate"
client!um.b Lclient!en;: client!um.b Lclient!en;:
owner: "client" owner: "client"
name: "js5NetQueue" name: "js5NetQueue"
@ -12606,10 +12606,10 @@ methods:
21: "local21" 21: "local21"
28: "local28" 28: "local28"
client!al.a (IZIB)V: client!al.a (IZIB)V:
owner: "Static9" owner: "AudioChannel"
name: "method175" name: "init"
arguments: arguments:
1: "arg0" 1: "stereo"
locals: {} locals: {}
client!al.a (IZZZ)V: client!al.a (IZZZ)V:
owner: "Static9" owner: "Static9"
@ -14362,10 +14362,10 @@ methods:
65: "local65" 65: "local65"
69: "local69" 69: "local69"
client!ca.d (II)I: client!ca.d (II)I:
owner: "Static11" owner: "IntUtils"
name: "method496" name: "bitCountFast"
arguments: arguments:
1: "arg0" 1: "v"
locals: {} locals: {}
client!ca.f (B)Lclient!fg;: client!ca.f (B)Lclient!fg;:
owner: "Static11" owner: "Static11"
@ -23649,13 +23649,13 @@ methods:
103: "local103" 103: "local103"
112: "local112" 112: "local112"
client!im.run ()V: client!im.run ()V:
owner: "Class91" owner: "AudioThread"
name: "run" name: "run"
arguments: {} arguments: {}
locals: locals:
13: "local13" 13: "i"
23: "local23" 23: "channel"
48: "local48" 48: "ex"
client!in.<init> (IIIIIIIIII)V: client!in.<init> (IIIIIIIIII)V:
owner: "Class11_Sub4" owner: "Class11_Sub4"
name: "<init>" name: "<init>"
@ -25749,47 +25749,47 @@ methods:
889: "local889" 889: "local889"
930: "local930" 930: "local930"
client!kb.a ()I: client!kb.a ()I:
owner: "Class102_Sub1" owner: "JavaAudioChannel"
name: "method3002" name: "getBufferedSampleCount"
arguments: {} arguments: {}
locals: {} locals: {}
client!kb.a (Ljava/awt/Component;)V: client!kb.a (Ljava/awt/Component;)V:
owner: "Class102_Sub1" owner: "JavaAudioChannel"
name: "method3006" name: "init"
arguments: arguments:
0: "arg0" 0: "component"
locals: locals:
1: "local1" 1: "mixers"
9: "local9" 9: "i"
17: "local17" 17: "mixer"
23: "local23" 23: "name"
client!kb.b ()V: client!kb.b ()V:
owner: "Class102_Sub1" owner: "JavaAudioChannel"
name: "method3004" name: "close"
arguments: {} arguments: {}
locals: {} locals: {}
client!kb.b (I)V: client!kb.b (I)V:
owner: "Class102_Sub1" owner: "JavaAudioChannel"
name: "method2999" name: "open"
arguments: arguments:
0: "arg0" 0: "bufferSize"
locals: locals:
20: "local20" 20: "info"
36: "local36" 36: "ex"
client!kb.c ()V: client!kb.c ()V:
owner: "Class102_Sub1" owner: "JavaAudioChannel"
name: "method3005" name: "write"
arguments: {} arguments: {}
locals: locals:
1: "local1" 1: "len"
9: "local9" 9: "i"
17: "local17" 17: "sample"
client!kb.d ()V: client!kb.d ()V:
owner: "Class102_Sub1" owner: "JavaAudioChannel"
name: "method3011" name: "flush"
arguments: {} arguments: {}
locals: locals:
34: "local34" 34: "info"
client!kc.<init> ()V: client!kc.<init> ()V:
owner: "Class103" owner: "Class103"
name: "<init>" name: "<init>"
@ -30344,18 +30344,18 @@ methods:
29: "local29" 29: "local29"
40: "local40" 40: "local40"
client!mo.a (Ljava/awt/Component;BILsignlink!pm;I)Lclient!tj;: client!mo.a (Ljava/awt/Component;BILsignlink!pm;I)Lclient!tj;:
owner: "Static25" owner: "AudioChannel"
name: "method2807" name: "create"
arguments: arguments:
0: "arg0" 0: "component"
2: "arg1" 3: "signLink"
3: "arg2" 4: "channelId"
4: "arg3" 2: "sampleRate"
locals: locals:
38: "local38" 38: "channel"
123: "local123" 123: "ex"
129: "local129" 129: "channel"
192: "local192" 192: "ex2"
client!mo.a (Z)V: client!mo.a (Z)V:
owner: "Static25" owner: "Static25"
name: "method2811" name: "method2811"
@ -32327,42 +32327,42 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!nm.<init> (Lsignlink!pm;I)V: client!nm.<init> (Lsignlink!pm;I)V:
owner: "Class102_Sub2" owner: "SignLinkAudioChannel"
name: "<init>" name: "<init>"
arguments: arguments:
0: "arg0" 0: "signLink"
1: "arg1" 1: "channel"
locals: {} locals: {}
client!nm.a ()I: client!nm.a ()I:
owner: "Class102_Sub2" owner: "SignLinkAudioChannel"
name: "method3002" name: "getBufferedSampleCount"
arguments: {} arguments: {}
locals: {} locals: {}
client!nm.a (Ljava/awt/Component;)V: client!nm.a (Ljava/awt/Component;)V:
owner: "Class102_Sub2" owner: "SignLinkAudioChannel"
name: "method3006" name: "init"
arguments: arguments:
0: "arg0" 0: "component"
locals: {} locals: {}
client!nm.b ()V: client!nm.b ()V:
owner: "Class102_Sub2" owner: "SignLinkAudioChannel"
name: "method3004" name: "close"
arguments: {} arguments: {}
locals: {} locals: {}
client!nm.b (I)V: client!nm.b (I)V:
owner: "Class102_Sub2" owner: "SignLinkAudioChannel"
name: "method2999" name: "open"
arguments: arguments:
0: "arg0" 0: "bufferSize"
locals: {} locals: {}
client!nm.c ()V: client!nm.c ()V:
owner: "Class102_Sub2" owner: "SignLinkAudioChannel"
name: "method3005" name: "write"
arguments: {} arguments: {}
locals: {} locals: {}
client!nm.d ()V: client!nm.d ()V:
owner: "Class102_Sub2" owner: "SignLinkAudioChannel"
name: "method3011" name: "flush"
arguments: {} arguments: {}
locals: {} locals: {}
client!nn.<init> ()V: client!nn.<init> ()V:
@ -41236,27 +41236,27 @@ methods:
arguments: {} arguments: {}
locals: {} locals: {}
client!tj.a ()I: client!tj.a ()I:
owner: "Class102" owner: "AudioChannel"
name: "method3002" name: "getBufferedSampleCount"
arguments: {} arguments: {}
locals: {} locals: {}
client!tj.a (B)V: client!tj.a (B)V:
owner: "Class102" owner: "AudioChannel"
name: "method2998" name: "method2998"
arguments: {} arguments: {}
locals: locals:
18: "local18" 18: "now"
58: "local58" 58: "ex"
96: "local96" 96: "bufferedSamples"
117: "local117" 117: "local117"
262: "local262" 262: "ex"
client!tj.a (BI)V: client!tj.a (BI)V:
owner: "Class102" owner: "AudioChannel"
name: "method2995" name: "method2995"
arguments: {} arguments: {}
locals: {} locals: {}
client!tj.a (I)V: client!tj.a (I)V:
owner: "Class102" owner: "AudioChannel"
name: "method2996" name: "method2996"
arguments: {} arguments: {}
locals: {} locals: {}
@ -41332,7 +41332,7 @@ methods:
locals: locals:
4: "local4" 4: "local4"
client!tj.a (ILclient!tf;B)V: client!tj.a (ILclient!tf;B)V:
owner: "Class102" owner: "AudioChannel"
name: "method2994" name: "method2994"
arguments: arguments:
0: "arg0" 0: "arg0"
@ -41341,19 +41341,19 @@ methods:
3: "local3" 3: "local3"
8: "local8" 8: "local8"
client!tj.a (Lclient!tf;I)V: client!tj.a (Lclient!tf;I)V:
owner: "Class102" owner: "AudioChannel"
name: "method3008" name: "method3008"
arguments: arguments:
0: "arg0" 0: "arg0"
locals: {} locals: {}
client!tj.a (Ljava/awt/Component;)V: client!tj.a (Ljava/awt/Component;)V:
owner: "Class102" owner: "AudioChannel"
name: "method3006" name: "init"
arguments: arguments:
0: "arg0" 0: "component"
locals: {} locals: {}
client!tj.a ([II)V: client!tj.a ([II)V:
owner: "Class102" owner: "AudioChannel"
name: "method3012" name: "method3012"
arguments: arguments:
0: "arg0" 0: "arg0"
@ -41376,25 +41376,25 @@ methods:
212: "local212" 212: "local212"
227: "local227" 227: "local227"
client!tj.b ()V: client!tj.b ()V:
owner: "Class102" owner: "AudioChannel"
name: "method3004" name: "close"
arguments: {} arguments: {}
locals: {} locals: {}
client!tj.b (B)V: client!tj.b (B)V:
owner: "Class102" owner: "AudioChannel"
name: "method3009" name: "method3009"
arguments: {} arguments: {}
locals: locals:
18: "local18" 18: "ex"
client!tj.b (I)V: client!tj.b (I)V:
owner: "Class102" owner: "AudioChannel"
name: "method2999" name: "open"
arguments: arguments:
0: "arg0" 0: "bufferSize"
locals: {} locals: {}
client!tj.c ()V: client!tj.c ()V:
owner: "Class102" owner: "AudioChannel"
name: "method3005" name: "write"
arguments: {} arguments: {}
locals: {} locals: {}
client!tj.c (I)V: client!tj.c (I)V:
@ -41436,17 +41436,17 @@ methods:
844: "local844" 844: "local844"
853: "local853" 853: "local853"
client!tj.d ()V: client!tj.d ()V:
owner: "Class102" owner: "AudioChannel"
name: "method3011" name: "flush"
arguments: {} arguments: {}
locals: {} locals: {}
client!tj.d (I)V: client!tj.d (I)V:
owner: "Class102" owner: "AudioChannel"
name: "method3001" name: "quit"
arguments: {} arguments: {}
locals: locals:
17: "local17" 17: "stop"
19: "local19" 19: "i"
client!tj.e (I)V: client!tj.e (I)V:
owner: "Static33" owner: "Static33"
name: "method3007" name: "method3007"

Loading…
Cancel
Save