class com.sun.media.sound.RealTimeSequencer$DataPump
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.media.sound.RealTimeSequencer$DataPump
super_class: java.lang.Object
{
private float currTempo;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float tempoFactor;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float inverseTempoFactor;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private long ignoreTempoEventAt;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int resolution;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private float divisionType;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private long checkPointMillis;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long checkPointTick;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private int[] noteOnCache;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private javax.sound.midi.Track[] tracks;
descriptor: [Ljavax/sound/midi/Track;
flags: (0x0002) ACC_PRIVATE
private boolean[] trackDisabled;
descriptor: [Z
flags: (0x0002) ACC_PRIVATE
private int[] trackReadPos;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private long lastTick;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private boolean needReindex;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int currLoopCounter;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final com.sun.media.sound.RealTimeSequencer this$0;
descriptor: Lcom/sun/media/sound/RealTimeSequencer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.media.sound.RealTimeSequencer);
descriptor: (Lcom/sun/media/sound/RealTimeSequencer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.media.sound.RealTimeSequencer$DataPump.needReindex:Z
2: aload 0
iconst_0
putfield com.sun.media.sound.RealTimeSequencer$DataPump.currLoopCounter:I
3: aload 0
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.init:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
MethodParameters:
Name Flags
this$0 final
synchronized void init();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc -1
putfield com.sun.media.sound.RealTimeSequencer$DataPump.ignoreTempoEventAt:J
1: aload 0
fconst_1
putfield com.sun.media.sound.RealTimeSequencer$DataPump.tempoFactor:F
2: aload 0
fconst_1
putfield com.sun.media.sound.RealTimeSequencer$DataPump.inverseTempoFactor:F
3: aload 0
sipush 128
newarray 10
putfield com.sun.media.sound.RealTimeSequencer$DataPump.noteOnCache:[I
4: aload 0
aconst_null
putfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
5: aload 0
aconst_null
putfield com.sun.media.sound.RealTimeSequencer$DataPump.trackDisabled:[Z
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
synchronized void setTickPos(long);
descriptor: (J)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: lload 1
lstore 3
start local 3 1: aload 0
lload 1
putfield com.sun.media.sound.RealTimeSequencer$DataPump.lastTick:J
2: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.running:Z
ifeq 4
3: aload 0
iconst_0
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.notesOff:(Z)V
4: StackMap locals: long
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.running:Z
ifne 5
lload 1
lconst_0
lcmp
ifle 7
5: StackMap locals:
StackMap stack:
aload 0
lload 3
lload 1
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.chaseEvents:(JJ)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.media.sound.RealTimeSequencer$DataPump.needReindex:Z
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.hasCachedTempo:()Z
ifne 11
9: aload 0
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
invokevirtual com.sun.media.sound.RealTimeSequencer.getTempoCache:()Lcom/sun/media/sound/MidiUtils$TempoCache;
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.lastTick:J
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.currTempo:F
invokevirtual com.sun.media.sound.MidiUtils$TempoCache.getTempoMPQAt:(JF)F
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.setTempoMPQ:(F)V
10: aload 0
ldc -1
putfield com.sun.media.sound.RealTimeSequencer$DataPump.ignoreTempoEventAt:J
11: StackMap locals:
StackMap stack:
aload 0
lconst_0
putfield com.sun.media.sound.RealTimeSequencer$DataPump.checkPointMillis:J
12: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
0 13 1 tickPos J
1 13 3 oldLastTick J
MethodParameters:
Name Flags
tickPos
long getTickPos();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.lastTick:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
boolean hasCachedTempo();
descriptor: ()Z
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.ignoreTempoEventAt:J
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.lastTick:J
lcmp
ifeq 2
1: aload 0
ldc -1
putfield com.sun.media.sound.RealTimeSequencer$DataPump.ignoreTempoEventAt:J
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.ignoreTempoEventAt:J
lconst_0
lcmp
iflt 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
synchronized void setTempoMPQ(float);
descriptor: (F)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: fload 1
fconst_0
fcmpl
ifle 4
fload 1
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.currTempo:F
fcmpl
ifeq 4
1: aload 0
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.lastTick:J
putfield com.sun.media.sound.RealTimeSequencer$DataPump.ignoreTempoEventAt:J
2: aload 0
fload 1
putfield com.sun.media.sound.RealTimeSequencer$DataPump.currTempo:F
3: aload 0
lconst_0
putfield com.sun.media.sound.RealTimeSequencer$DataPump.checkPointMillis:J
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
0 5 1 tempoMPQ F
MethodParameters:
Name Flags
tempoMPQ
float getTempoMPQ();
descriptor: ()F
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.currTempo:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
synchronized void setTempoFactor(float);
descriptor: (F)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: fload 1
fconst_0
fcmpl
ifle 4
fload 1
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tempoFactor:F
fcmpl
ifeq 4
1: aload 0
fload 1
putfield com.sun.media.sound.RealTimeSequencer$DataPump.tempoFactor:F
2: aload 0
fconst_1
fload 1
fdiv
putfield com.sun.media.sound.RealTimeSequencer$DataPump.inverseTempoFactor:F
3: aload 0
lconst_0
putfield com.sun.media.sound.RealTimeSequencer$DataPump.checkPointMillis:J
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
0 5 1 factor F
MethodParameters:
Name Flags
factor
float getTempoFactor();
descriptor: ()F
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tempoFactor:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
synchronized void muteSoloChanged();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.makeDisabledArray:()[Z
astore 1
start local 1 1: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.running:Z
ifeq 3
2: aload 0
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.trackDisabled:[Z
aload 1
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.applyDisabledTracks:([Z[Z)V
3: StackMap locals: boolean[]
StackMap stack:
aload 0
aload 1
putfield com.sun.media.sound.RealTimeSequencer$DataPump.trackDisabled:[Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
1 5 1 newDisabled [Z
synchronized void setSequence(javax.sound.midi.Sequence);
descriptor: (Ljavax/sound/midi/Sequence;)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.init:()V
2: return
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.sound.midi.Sequence.getTracks:()[Ljavax/sound/midi/Track;
putfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
4: aload 0
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.muteSoloChanged:()V
5: aload 0
aload 1
invokevirtual javax.sound.midi.Sequence.getResolution:()I
putfield com.sun.media.sound.RealTimeSequencer$DataPump.resolution:I
6: aload 0
aload 1
invokevirtual javax.sound.midi.Sequence.getDivisionType:()F
putfield com.sun.media.sound.RealTimeSequencer$DataPump.divisionType:F
7: aload 0
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
arraylength
newarray 10
putfield com.sun.media.sound.RealTimeSequencer$DataPump.trackReadPos:[I
8: aload 0
lconst_0
putfield com.sun.media.sound.RealTimeSequencer$DataPump.checkPointMillis:J
9: aload 0
iconst_1
putfield com.sun.media.sound.RealTimeSequencer$DataPump.needReindex:Z
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
0 11 1 seq Ljavax/sound/midi/Sequence;
MethodParameters:
Name Flags
seq
synchronized void resetLoopCount();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.loopCount:I
putfield com.sun.media.sound.RealTimeSequencer$DataPump.currLoopCounter:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
void clearNoteOnCache();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.noteOnCache:[I
iload 1
iconst_0
iastore
3: iinc 1 1
StackMap locals:
StackMap stack:
4: iload 1
sipush 128
if_icmplt 2
end local 1 5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
1 5 1 i I
void notesOff(boolean);
descriptor: (Z)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 15
2: StackMap locals: int
StackMap stack:
iconst_1
iload 2
ishl
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 9
5: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.noteOnCache:[I
iload 4
iaload
iload 3
iand
ifeq 8
6: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.noteOnCache:[I
iload 4
dup2
iaload
iload 3
ixor
iastore
7: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
invokevirtual com.sun.media.sound.RealTimeSequencer.getTransmitterList:()Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
sipush 144
iload 2
ior
iload 4
bipush 8
ishl
ior
ldc -1
invokevirtual com.sun.media.sound.AbstractMidiDevice$TransmitterList.sendMessage:(IJ)V
8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
sipush 128
if_icmplt 5
end local 4 10: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
invokevirtual com.sun.media.sound.RealTimeSequencer.getTransmitterList:()Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
sipush 176
iload 2
ior
sipush 31488
ior
ldc -1
invokevirtual com.sun.media.sound.AbstractMidiDevice$TransmitterList.sendMessage:(IJ)V
11: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
invokevirtual com.sun.media.sound.RealTimeSequencer.getTransmitterList:()Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
sipush 176
iload 2
ior
sipush 16384
ior
ldc -1
invokevirtual com.sun.media.sound.AbstractMidiDevice$TransmitterList.sendMessage:(IJ)V
12: iload 1
ifeq 14
13: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
invokevirtual com.sun.media.sound.RealTimeSequencer.getTransmitterList:()Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
sipush 176
iload 2
ior
sipush 30976
ior
ldc -1
invokevirtual com.sun.media.sound.AbstractMidiDevice$TransmitterList.sendMessage:(IJ)V
end local 3 14: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
15: iload 2
bipush 16
if_icmplt 2
end local 2 16: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
0 17 1 doControllers Z
1 16 2 ch I
3 14 3 channelMask I
4 10 4 i I
MethodParameters:
Name Flags
doControllers
private boolean[] makeDisabledArray();
descriptor: ()[Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
arraylength
newarray 4
astore 1
start local 1 3: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
dup
astore 4
monitorenter
4: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.trackMuted:[Z
astore 3
start local 3 5: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.trackSolo:[Z
astore 2
start local 2 6: aload 4
monitorexit
7: goto 10
end local 3 end local 2 StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump boolean[] top top com.sun.media.sound.RealTimeSequencer
StackMap stack: java.lang.Throwable
8: aload 4
monitorexit
9: athrow
start local 2 start local 3 10: StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump boolean[] boolean[] boolean[]
StackMap stack:
iconst_0
istore 4
start local 4 11: aload 2
ifnull 19
12: iconst_0
istore 5
start local 5 13: goto 18
14: StackMap locals: int int
StackMap stack:
aload 2
iload 5
baload
ifeq 17
15: iconst_1
istore 4
16: goto 19
17: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
18: iload 5
aload 2
arraylength
if_icmplt 14
end local 5 19: StackMap locals:
StackMap stack:
iload 4
ifeq 28
20: iconst_0
istore 5
start local 5 21: goto 26
22: StackMap locals: int
StackMap stack:
aload 1
iload 5
iload 5
aload 2
arraylength
if_icmpge 23
aload 2
iload 5
baload
ifeq 23
iconst_0
goto 24
StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump boolean[] boolean[] boolean[] int int
StackMap stack: boolean[] int
23: iconst_1
StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump boolean[] boolean[] boolean[] int int
StackMap stack: boolean[] int int
24: bastore
25: iinc 5 1
StackMap locals:
StackMap stack:
26: iload 5
aload 1
arraylength
if_icmplt 22
end local 5 27: goto 35
28: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 29: goto 34
30: StackMap locals: int
StackMap stack:
aload 1
iload 5
aload 3
ifnull 31
iload 5
aload 3
arraylength
if_icmpge 31
aload 3
iload 5
baload
ifeq 31
iconst_1
goto 32
StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump boolean[] boolean[] boolean[] int int
StackMap stack: boolean[] int
31: iconst_0
StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump boolean[] boolean[] boolean[] int int
StackMap stack: boolean[] int int
32: bastore
33: iinc 5 1
StackMap locals:
StackMap stack:
34: iload 5
aload 1
arraylength
if_icmplt 30
end local 5 35: StackMap locals:
StackMap stack:
aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
3 36 1 newTrackDisabled [Z
6 8 2 solo [Z
10 36 2 solo [Z
5 8 3 mute [Z
10 36 3 mute [Z
11 36 4 hasSolo Z
13 19 5 i I
21 27 5 i I
29 35 5 i I
Exception table:
from to target type
4 7 8 any
8 9 8 any
private void sendNoteOffIfOn(javax.sound.midi.Track, long);
descriptor: (Ljavax/sound/midi/Track;J)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=12, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual javax.sound.midi.Track.size:()I
istore 4
start local 4 1: iconst_0
istore 5
start local 5 2: goto 24
3: StackMap locals: int int
StackMap stack:
aload 1
iload 5
invokevirtual javax.sound.midi.Track.get:(I)Ljavax/sound/midi/MidiEvent;
astore 6
start local 6 4: aload 6
invokevirtual javax.sound.midi.MidiEvent.getTick:()J
lload 2
lcmp
ifle 5
goto 27
5: StackMap locals: javax.sound.midi.MidiEvent
StackMap stack:
aload 6
invokevirtual javax.sound.midi.MidiEvent.getMessage:()Ljavax/sound/midi/MidiMessage;
astore 7
start local 7 6: aload 7
invokevirtual javax.sound.midi.MidiMessage.getStatus:()I
istore 8
start local 8 7: aload 7
invokevirtual javax.sound.midi.MidiMessage.getLength:()I
istore 9
start local 9 8: iload 9
iconst_3
if_icmpne 23
iload 8
sipush 240
iand
sipush 144
if_icmpne 23
9: iconst_m1
istore 10
start local 10 10: aload 7
instanceof javax.sound.midi.ShortMessage
ifeq 15
11: aload 7
checkcast javax.sound.midi.ShortMessage
astore 11
start local 11 12: aload 11
invokevirtual javax.sound.midi.ShortMessage.getData2:()I
ifle 18
13: aload 11
invokevirtual javax.sound.midi.ShortMessage.getData1:()I
istore 10
end local 11 14: goto 18
15: StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump javax.sound.midi.Track long int int javax.sound.midi.MidiEvent javax.sound.midi.MidiMessage int int int
StackMap stack:
aload 7
invokevirtual javax.sound.midi.MidiMessage.getMessage:()[B
astore 11
start local 11 16: aload 11
iconst_2
baload
bipush 127
iand
ifle 18
17: aload 11
iconst_1
baload
bipush 127
iand
istore 10
end local 11 18: StackMap locals:
StackMap stack:
iload 10
iflt 23
19: iconst_1
iload 8
bipush 15
iand
ishl
istore 11
start local 11 20: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.noteOnCache:[I
iload 10
iaload
iload 11
iand
ifeq 23
21: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
invokevirtual com.sun.media.sound.RealTimeSequencer.getTransmitterList:()Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
iload 8
iload 10
bipush 8
ishl
ior
ldc -1
invokevirtual com.sun.media.sound.AbstractMidiDevice$TransmitterList.sendMessage:(IJ)V
22: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.noteOnCache:[I
iload 10
dup2
iaload
ldc 65535
iload 11
ixor
iand
iastore
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 23: StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump javax.sound.midi.Track long int int
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
24: iload 5
iload 4
if_icmplt 3
end local 5 25: goto 27
StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump javax.sound.midi.Track long int
StackMap stack: java.lang.ArrayIndexOutOfBoundsException
26: pop
27: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
0 28 1 track Ljavax/sound/midi/Track;
0 28 2 endTick J
1 28 4 size I
2 25 5 i I
4 23 6 event Ljavax/sound/midi/MidiEvent;
6 23 7 msg Ljavax/sound/midi/MidiMessage;
7 23 8 status I
8 23 9 len I
10 23 10 note I
12 14 11 smsg Ljavax/sound/midi/ShortMessage;
16 18 11 data [B
20 23 11 bit I
Exception table:
from to target type
1 25 26 Class java.lang.ArrayIndexOutOfBoundsException
MethodParameters:
Name Flags
track
endTick
private void applyDisabledTracks(boolean[], boolean[]);
descriptor: ([Z[Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
dup
astore 4
monitorenter
2: iconst_0
istore 5
start local 5 3: goto 19
4: StackMap locals: byte[][] com.sun.media.sound.RealTimeSequencer int
StackMap stack:
aload 1
ifnull 7
5: iload 5
aload 1
arraylength
if_icmpge 7
6: aload 1
iload 5
baload
ifne 11
7: StackMap locals:
StackMap stack:
aload 2
iload 5
baload
ifeq 11
8: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
arraylength
iload 5
if_icmple 18
9: aload 0
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
iload 5
aaload
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.lastTick:J
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.sendNoteOffIfOn:(Ljavax/sound/midi/Track;J)V
10: goto 18
11: StackMap locals:
StackMap stack:
aload 1
ifnull 18
12: iload 5
aload 1
arraylength
if_icmpge 18
13: aload 1
iload 5
baload
ifeq 18
14: aload 2
iload 5
baload
ifne 18
15: aload 3
ifnonnull 17
16: sipush 128
bipush 16
multianewarray [[B 2
astore 3
17: StackMap locals:
StackMap stack:
aload 0
iload 5
lconst_0
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.lastTick:J
iconst_1
aload 3
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.chaseTrackEvents:(IJJZ[[B)V
18: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
aload 2
arraylength
if_icmplt 4
end local 5 20: aload 4
monitorexit
21: goto 24
StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump boolean[] boolean[] byte[][] com.sun.media.sound.RealTimeSequencer
StackMap stack: java.lang.Throwable
22: aload 4
monitorexit
23: athrow
24: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
0 25 1 oldDisabled [Z
0 25 2 newDisabled [Z
1 25 3 tempArray [[B
3 20 5 i I
Exception table:
from to target type
2 21 22 any
22 23 22 any
MethodParameters:
Name Flags
oldDisabled
newDisabled
private void chaseTrackEvents(int, long, long, boolean, byte[][]);
descriptor: (IJJZ[[B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=17, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 6 start local 7 0: lload 2
lload 4
lcmp
ifle 2
1: lconst_0
lstore 2
2: StackMap locals:
StackMap stack:
bipush 16
newarray 8
astore 8
start local 8 3: iconst_0
istore 9
start local 9 4: goto 12
5: StackMap locals: byte[] int
StackMap stack:
aload 8
iload 9
iconst_m1
bastore
6: iconst_0
istore 10
start local 10 7: goto 10
8: StackMap locals: int
StackMap stack:
aload 7
iload 10
aaload
iload 9
iconst_m1
bastore
9: iinc 10 1
StackMap locals:
StackMap stack:
10: iload 10
sipush 128
if_icmplt 8
end local 10 11: iinc 9 1
StackMap locals:
StackMap stack:
12: iload 9
bipush 16
if_icmplt 5
end local 9 13: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
iload 1
aaload
astore 9
start local 9 14: aload 9
invokevirtual javax.sound.midi.Track.size:()I
istore 10
start local 10 15: iconst_0
istore 11
start local 11 16: goto 42
17: StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump int long long int byte[][] byte[] javax.sound.midi.Track int int
StackMap stack:
aload 9
iload 11
invokevirtual javax.sound.midi.Track.get:(I)Ljavax/sound/midi/MidiEvent;
astore 12
start local 12 18: aload 12
invokevirtual javax.sound.midi.MidiEvent.getTick:()J
lload 4
lcmp
iflt 24
19: iload 6
ifeq 45
iload 1
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.trackReadPos:[I
arraylength
if_icmpge 45
20: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.trackReadPos:[I
iload 1
iload 11
ifle 21
iload 11
iconst_1
isub
goto 22
StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump int long long int byte[][] byte[] javax.sound.midi.Track int int javax.sound.midi.MidiEvent
StackMap stack: int[] int
21: iconst_0
StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump int long long int byte[][] byte[] javax.sound.midi.Track int int javax.sound.midi.MidiEvent
StackMap stack: int[] int int
22: iastore
23: goto 45
24: StackMap locals:
StackMap stack:
aload 12
invokevirtual javax.sound.midi.MidiEvent.getMessage:()Ljavax/sound/midi/MidiMessage;
astore 13
start local 13 25: aload 13
invokevirtual javax.sound.midi.MidiMessage.getStatus:()I
istore 14
start local 14 26: aload 13
invokevirtual javax.sound.midi.MidiMessage.getLength:()I
istore 15
start local 15 27: iload 15
iconst_3
if_icmpne 34
iload 14
sipush 240
iand
sipush 176
if_icmpne 34
28: aload 13
instanceof javax.sound.midi.ShortMessage
ifeq 32
29: aload 13
checkcast javax.sound.midi.ShortMessage
astore 16
start local 16 30: aload 7
aload 16
invokevirtual javax.sound.midi.ShortMessage.getData1:()I
bipush 127
iand
aaload
iload 14
bipush 15
iand
aload 16
invokevirtual javax.sound.midi.ShortMessage.getData2:()I
i2b
bastore
end local 16 31: goto 34
32: StackMap locals: javax.sound.midi.MidiMessage int int
StackMap stack:
aload 13
invokevirtual javax.sound.midi.MidiMessage.getMessage:()[B
astore 16
start local 16 33: aload 7
aload 16
iconst_1
baload
bipush 127
iand
aaload
iload 14
bipush 15
iand
aload 16
iconst_2
baload
bastore
end local 16 34: StackMap locals:
StackMap stack:
iload 15
iconst_2
if_icmpne 41
iload 14
sipush 240
iand
sipush 192
if_icmpne 41
35: aload 13
instanceof javax.sound.midi.ShortMessage
ifeq 39
36: aload 13
checkcast javax.sound.midi.ShortMessage
astore 16
start local 16 37: aload 8
iload 14
bipush 15
iand
aload 16
invokevirtual javax.sound.midi.ShortMessage.getData1:()I
i2b
bastore
end local 16 38: goto 41
39: StackMap locals:
StackMap stack:
aload 13
invokevirtual javax.sound.midi.MidiMessage.getMessage:()[B
astore 16
start local 16 40: aload 8
iload 14
bipush 15
iand
aload 16
iconst_1
baload
bastore
end local 16 end local 15 end local 14 end local 13 end local 12 41: StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump int long long int byte[][] byte[] javax.sound.midi.Track int int
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
42: iload 11
iload 10
if_icmplt 17
end local 11 43: goto 45
StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump int long long int byte[][] byte[] javax.sound.midi.Track int
StackMap stack: java.lang.ArrayIndexOutOfBoundsException
44: pop
45: StackMap locals:
StackMap stack:
iconst_0
istore 11
start local 11 46: goto 61
47: StackMap locals: int
StackMap stack:
iconst_0
istore 12
start local 12 48: goto 54
49: StackMap locals: int
StackMap stack:
aload 7
iload 12
aaload
iload 11
baload
istore 13
start local 13 50: iload 13
iflt 53
51: sipush 176
iload 11
ior
iload 12
bipush 8
ishl
ior
iload 13
bipush 16
ishl
ior
istore 14
start local 14 52: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
invokevirtual com.sun.media.sound.RealTimeSequencer.getTransmitterList:()Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
iload 14
ldc -1
invokevirtual com.sun.media.sound.AbstractMidiDevice$TransmitterList.sendMessage:(IJ)V
end local 14 end local 13 53: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
54: iload 12
sipush 128
if_icmplt 49
end local 12 55: aload 8
iload 11
baload
iflt 57
56: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
invokevirtual com.sun.media.sound.RealTimeSequencer.getTransmitterList:()Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
sipush 192
iload 11
ior
aload 8
iload 11
baload
bipush 8
ishl
ior
ldc -1
invokevirtual com.sun.media.sound.AbstractMidiDevice$TransmitterList.sendMessage:(IJ)V
57: StackMap locals:
StackMap stack:
aload 8
iload 11
baload
ifge 58
lload 2
lconst_0
lcmp
ifeq 58
lload 4
lconst_0
lcmp
ifne 60
58: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
invokevirtual com.sun.media.sound.RealTimeSequencer.getTransmitterList:()Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
sipush 224
iload 11
ior
ldc 4194304
ior
ldc -1
invokevirtual com.sun.media.sound.AbstractMidiDevice$TransmitterList.sendMessage:(IJ)V
59: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
invokevirtual com.sun.media.sound.RealTimeSequencer.getTransmitterList:()Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
sipush 176
iload 11
ior
sipush 16384
ior
ldc -1
invokevirtual com.sun.media.sound.AbstractMidiDevice$TransmitterList.sendMessage:(IJ)V
60: StackMap locals:
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
61: iload 11
bipush 16
if_icmplt 47
end local 11 62: return
end local 10 end local 9 end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 63 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
0 63 1 trackNum I
0 63 2 startTick J
0 63 4 endTick J
0 63 6 doReindex Z
0 63 7 tempArray [[B
3 63 8 progs [B
4 13 9 ch I
7 11 10 co I
14 63 9 track Ljavax/sound/midi/Track;
15 63 10 size I
16 43 11 i I
18 41 12 event Ljavax/sound/midi/MidiEvent;
25 41 13 msg Ljavax/sound/midi/MidiMessage;
26 41 14 status I
27 41 15 len I
30 31 16 smsg Ljavax/sound/midi/ShortMessage;
33 34 16 data [B
37 38 16 smsg Ljavax/sound/midi/ShortMessage;
40 41 16 data [B
46 62 11 ch I
48 55 12 co I
50 53 13 controllerValue B
52 53 14 packedMsg I
Exception table:
from to target type
15 43 44 Class java.lang.ArrayIndexOutOfBoundsException
MethodParameters:
Name Flags
trackNum
startTick
endTick
doReindex
tempArray
synchronized void chaseEvents(long, long);
descriptor: (JJ)V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=8, locals=7, args_size=3
start local 0 start local 1 start local 3 0: sipush 128
bipush 16
multianewarray [[B 2
astore 5
start local 5 1: iconst_0
istore 6
start local 6 2: goto 8
3: StackMap locals: byte[][] int
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.trackDisabled:[Z
ifnull 6
4: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.trackDisabled:[Z
arraylength
iload 6
if_icmple 6
5: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.trackDisabled:[Z
iload 6
baload
ifne 7
6: StackMap locals:
StackMap stack:
aload 0
iload 6
lload 1
lload 3
iconst_1
aload 5
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.chaseTrackEvents:(IJJZ[[B)V
7: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
8: iload 6
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
arraylength
if_icmplt 3
end local 6 9: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
0 10 1 startTick J
0 10 3 endTick J
1 10 5 tempArray [[B
2 9 6 t I
MethodParameters:
Name Flags
startTick
endTick
private long getCurrentTimeMillis();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: invokestatic java.lang.System.nanoTime:()J
ldc 1000000
ldiv
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
private long millis2tick(long);
descriptor: (J)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.divisionType:F
fconst_0
fcmpl
ifeq 9
1: lload 1
l2d
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tempoFactor:F
f2d
dmul
2: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.divisionType:F
f2d
3: dmul
4: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.resolution:I
i2d
5: dmul
6: ldc 1000.0
7: ddiv
dstore 3
start local 3 8: dload 3
d2l
lreturn
end local 3 9: StackMap locals:
StackMap stack:
lload 1
ldc 1000
lmul
10: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.currTempo:F
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.inverseTempoFactor:F
fmul
f2d
11: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.resolution:I
12: invokestatic com.sun.media.sound.MidiUtils.microsec2ticks:(JDI)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
0 13 1 millis J
8 9 3 dTick D
MethodParameters:
Name Flags
millis
private long tick2millis(long);
descriptor: (J)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.divisionType:F
fconst_0
fcmpl
ifeq 5
1: lload 1
l2d
ldc 1000.0
dmul
2: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tempoFactor:F
f2d
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.divisionType:F
f2d
dmul
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.resolution:I
i2d
dmul
3: ddiv
dstore 3
start local 3 4: dload 3
d2l
lreturn
end local 3 5: StackMap locals:
StackMap stack:
lload 1
6: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.currTempo:F
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.inverseTempoFactor:F
fmul
f2d
7: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.resolution:I
8: invokestatic com.sun.media.sound.MidiUtils.ticks2microsec:(JDI)J
9: ldc 1000
10: ldiv
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
0 11 1 tick J
4 5 3 dMillis D
MethodParameters:
Name Flags
tick
private void (int, long);
descriptor: (IJ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.trackReadPos:[I
arraylength
if_icmpge 2
iload 1
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
arraylength
if_icmpge 2
1: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.trackReadPos:[I
iload 1
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
iload 1
aaload
lload 2
invokestatic com.sun.media.sound.MidiUtils.tick2index:(Ljavax/sound/midi/Track;J)I
iastore
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
0 3 1 trackNum I
0 3 2 tick J
MethodParameters:
Name Flags
trackNum
tick
private boolean dispatchMessage(int, javax.sound.midi.MidiEvent);
descriptor: (ILjavax/sound/midi/MidiEvent;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=10, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: aload 2
invokevirtual javax.sound.midi.MidiEvent.getMessage:()Ljavax/sound/midi/MidiMessage;
astore 4
start local 4 2: aload 4
invokevirtual javax.sound.midi.MidiMessage.getStatus:()I
istore 5
start local 5 3: aload 4
invokevirtual javax.sound.midi.MidiMessage.getLength:()I
istore 6
start local 6 4: iload 5
sipush 255
if_icmpne 14
iload 6
iconst_2
if_icmplt 14
5: iload 1
ifne 12
6: aload 4
invokestatic com.sun.media.sound.MidiUtils.getTempoMPQ:(Ljavax/sound/midi/MidiMessage;)I
istore 7
start local 7 7: iload 7
ifle 12
8: aload 2
invokevirtual javax.sound.midi.MidiEvent.getTick:()J
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.ignoreTempoEventAt:J
lcmp
ifeq 11
9: aload 0
iload 7
i2f
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.setTempoMPQ:(F)V
10: iconst_1
istore 3
11: StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump int javax.sound.midi.MidiEvent int javax.sound.midi.MidiMessage int int int
StackMap stack:
aload 0
ldc -1
putfield com.sun.media.sound.RealTimeSequencer$DataPump.ignoreTempoEventAt:J
end local 7 12: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
aload 4
invokevirtual com.sun.media.sound.RealTimeSequencer.sendMetaEvents:(Ljavax/sound/midi/MidiMessage;)V
13: goto 28
14: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
invokevirtual com.sun.media.sound.RealTimeSequencer.getTransmitterList:()Lcom/sun/media/sound/AbstractMidiDevice$TransmitterList;
aload 4
ldc -1
invokevirtual com.sun.media.sound.AbstractMidiDevice$TransmitterList.sendMessage:(Ljavax/sound/midi/MidiMessage;J)V
15: iload 5
sipush 240
iand
lookupswitch { // 3
128: 16
144: 19
176: 27
default: 28
}
16: StackMap locals:
StackMap stack:
aload 4
checkcast javax.sound.midi.ShortMessage
invokevirtual javax.sound.midi.ShortMessage.getData1:()I
bipush 127
iand
istore 7
start local 7 17: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.noteOnCache:[I
iload 7
dup2
iaload
ldc 65535
iconst_1
iload 5
bipush 15
iand
ishl
ixor
iand
iastore
18: goto 28
end local 7 19: StackMap locals:
StackMap stack:
aload 4
checkcast javax.sound.midi.ShortMessage
astore 7
start local 7 20: aload 7
invokevirtual javax.sound.midi.ShortMessage.getData1:()I
bipush 127
iand
istore 8
start local 8 21: aload 7
invokevirtual javax.sound.midi.ShortMessage.getData2:()I
bipush 127
iand
istore 9
start local 9 22: iload 9
ifle 25
23: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.noteOnCache:[I
iload 8
dup2
iaload
iconst_1
iload 5
bipush 15
iand
ishl
ior
iastore
24: goto 28
25: StackMap locals: javax.sound.midi.ShortMessage int int
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.noteOnCache:[I
iload 8
dup2
iaload
ldc 65535
iconst_1
iload 5
bipush 15
iand
ishl
ixor
iand
iastore
26: goto 28
end local 9 end local 8 end local 7 27: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
aload 4
invokevirtual com.sun.media.sound.RealTimeSequencer.sendControllerEvents:(Ljavax/sound/midi/MidiMessage;)V
28: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
0 29 1 trackNum I
0 29 2 event Ljavax/sound/midi/MidiEvent;
1 29 3 changesPending Z
2 29 4 message Ljavax/sound/midi/MidiMessage;
3 29 5 msgStatus I
4 29 6 msgLen I
7 12 7 newTempo I
17 19 7 note I
20 27 7 smsg Ljavax/sound/midi/ShortMessage;
21 27 8 note I
22 27 9 vel I
MethodParameters:
Name Flags
trackNum
event
synchronized boolean pump();
descriptor: ()Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=8, locals=15, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.lastTick:J
lstore 3
start local 3 1: iconst_0
istore 6
start local 6 2: iconst_0
istore 7
start local 7 3: iconst_0
istore 8
start local 8 4: aload 0
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.getCurrentTimeMillis:()J
lstore 1
start local 1 5: iconst_0
istore 9
start local 9 6: StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump long long top int int int int
StackMap stack:
iconst_0
istore 6
7: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.needReindex:Z
ifeq 17
8: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.trackReadPos:[I
arraylength
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
arraylength
if_icmpge 10
9: aload 0
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
arraylength
newarray 10
putfield com.sun.media.sound.RealTimeSequencer$DataPump.trackReadPos:[I
10: StackMap locals:
StackMap stack:
iconst_0
istore 10
start local 10 11: goto 14
12: StackMap locals: int
StackMap stack:
aload 0
iload 10
lload 3
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.ReindexTrack:(IJ)V
13: iinc 10 1
StackMap locals:
StackMap stack:
14: iload 10
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
arraylength
if_icmplt 12
end local 10 15: aload 0
iconst_0
putfield com.sun.media.sound.RealTimeSequencer$DataPump.needReindex:Z
16: aload 0
lconst_0
putfield com.sun.media.sound.RealTimeSequencer$DataPump.checkPointMillis:J
17: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.checkPointMillis:J
lconst_0
lcmp
ifne 23
18: aload 0
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.getCurrentTimeMillis:()J
lstore 1
19: aload 0
lload 1
putfield com.sun.media.sound.RealTimeSequencer$DataPump.checkPointMillis:J
20: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.lastTick:J
lstore 3
21: aload 0
lload 3
putfield com.sun.media.sound.RealTimeSequencer$DataPump.checkPointTick:J
22: goto 31
23: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.checkPointTick:J
aload 0
lload 1
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.checkPointMillis:J
lsub
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.millis2tick:(J)J
ladd
lstore 3
24: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.loopEnd:J
ldc -1
lcmp
ifeq 30
25: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.loopCount:I
ifle 26
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.currLoopCounter:I
ifgt 27
26: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.loopCount:I
iconst_m1
if_icmpne 30
27: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.lastTick:J
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.loopEnd:J
lcmp
ifgt 30
lload 3
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.loopEnd:J
lcmp
iflt 30
28: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.loopEnd:J
lconst_1
lsub
lstore 3
29: iconst_1
istore 7
30: StackMap locals:
StackMap stack:
aload 0
lload 3
putfield com.sun.media.sound.RealTimeSequencer$DataPump.lastTick:J
31: StackMap locals:
StackMap stack:
iconst_0
istore 9
32: iconst_0
istore 10
start local 10 33: goto 61
34: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.trackDisabled:[Z
iload 10
baload
istore 11
start local 11 35: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
iload 10
aaload
astore 12
start local 12 36: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.trackReadPos:[I
iload 10
iaload
istore 13
start local 13 37: aload 12
invokevirtual javax.sound.midi.Track.size:()I
istore 14
start local 14 38: goto 46
start local 5 39: StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump long long javax.sound.midi.MidiEvent int int int int int int javax.sound.midi.Track int int
StackMap stack:
iload 13
iload 14
iconst_1
isub
if_icmpne 42
aload 5
invokevirtual javax.sound.midi.MidiEvent.getMessage:()Ljavax/sound/midi/MidiMessage;
invokestatic com.sun.media.sound.MidiUtils.isMetaEndOfTrack:(Ljavax/sound/midi/MidiMessage;)Z
ifeq 42
40: iload 14
istore 13
41: goto 50
42: StackMap locals:
StackMap stack:
iinc 13 1
43: iload 11
ifeq 45
44: iload 10
ifne 46
aload 5
invokevirtual javax.sound.midi.MidiEvent.getMessage:()Ljavax/sound/midi/MidiMessage;
invokestatic com.sun.media.sound.MidiUtils.isMetaTempo:(Ljavax/sound/midi/MidiMessage;)Z
ifeq 46
45: StackMap locals:
StackMap stack:
aload 0
iload 10
aload 5
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.dispatchMessage:(ILjavax/sound/midi/MidiEvent;)Z
istore 6
end local 5 46: StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump long long top int int int int int int javax.sound.midi.Track int int
StackMap stack:
iload 6
ifne 50
iload 13
iload 14
if_icmpge 50
47: aload 12
iload 13
invokevirtual javax.sound.midi.Track.get:(I)Ljavax/sound/midi/MidiEvent;
dup
astore 5
start local 5 48: invokevirtual javax.sound.midi.MidiEvent.getTick:()J
lload 3
49: lcmp
ifle 39
end local 5 50: StackMap locals:
StackMap stack:
iload 13
iload 14
if_icmplt 52
51: iinc 9 1
52: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.trackReadPos:[I
iload 10
iload 13
iastore
end local 14 end local 13 end local 12 end local 11 53: goto 58
StackMap locals: com.sun.media.sound.RealTimeSequencer$DataPump long long top int int int int int
StackMap stack: java.lang.Exception
54: astore 11
start local 11 55: aload 11
instanceof java.lang.ArrayIndexOutOfBoundsException
ifeq 58
56: aload 0
iconst_1
putfield com.sun.media.sound.RealTimeSequencer$DataPump.needReindex:Z
57: iconst_1
istore 6
end local 11 58: StackMap locals:
StackMap stack:
iload 6
ifeq 60
59: goto 62
60: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
61: iload 10
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
arraylength
if_icmplt 34
end local 10 62: StackMap locals:
StackMap stack:
iload 9
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.tracks:[Ljavax/sound/midi/Track;
arraylength
if_icmpne 63
iconst_1
goto 64
StackMap locals:
StackMap stack:
63: iconst_0
StackMap locals:
StackMap stack: int
64: istore 8
65: iload 7
ifne 71
66: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.loopCount:I
ifle 67
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.currLoopCounter:I
ifgt 68
67: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.loopCount:I
iconst_m1
if_icmpne 84
68: StackMap locals:
StackMap stack:
iload 6
ifne 84
69: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.loopEnd:J
ldc -1
lcmp
ifne 84
70: iload 8
ifeq 84
71: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.checkPointMillis:J
lstore 10
start local 10 72: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.loopEnd:J
lstore 12
start local 12 73: lload 12
ldc -1
lcmp
ifne 75
74: aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.lastTick:J
lstore 12
75: StackMap locals: long long
StackMap stack:
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.loopCount:I
iconst_m1
if_icmpeq 77
76: aload 0
dup
getfield com.sun.media.sound.RealTimeSequencer$DataPump.currLoopCounter:I
iconst_1
isub
putfield com.sun.media.sound.RealTimeSequencer$DataPump.currLoopCounter:I
77: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.loopStart:J
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.setTickPos:(J)V
78: aload 0
lload 10
aload 0
lload 12
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.checkPointTick:J
lsub
invokevirtual com.sun.media.sound.RealTimeSequencer$DataPump.tick2millis:(J)J
ladd
putfield com.sun.media.sound.RealTimeSequencer$DataPump.checkPointMillis:J
79: aload 0
aload 0
getfield com.sun.media.sound.RealTimeSequencer$DataPump.this$0:Lcom/sun/media/sound/RealTimeSequencer;
getfield com.sun.media.sound.RealTimeSequencer.loopStart:J
putfield com.sun.media.sound.RealTimeSequencer$DataPump.checkPointTick:J
80: aload 0
iconst_0
putfield com.sun.media.sound.RealTimeSequencer$DataPump.needReindex:Z
81: iconst_0
istore 6
82: iconst_0
istore 7
83: iconst_0
istore 8
end local 12 end local 10 84: StackMap locals:
StackMap stack:
iload 6
ifne 6
85: iload 8
ireturn
end local 9 end local 8 end local 7 end local 6 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 86 0 this Lcom/sun/media/sound/RealTimeSequencer$DataPump;
5 86 1 currMillis J
1 86 3 targetTick J
39 46 5 currEvent Ljavax/sound/midi/MidiEvent;
48 50 5 currEvent Ljavax/sound/midi/MidiEvent;
2 86 6 changesPending Z
3 86 7 doLoop Z
4 86 8 EOM Z
6 86 9 finishedTracks I
11 15 10 t I
33 62 10 t I
35 53 11 disabled Z
36 53 12 thisTrack Ljavax/sound/midi/Track;
37 53 13 readPos I
38 53 14 size I
55 58 11 e Ljava/lang/Exception;
72 84 10 oldCheckPointMillis J
73 84 12 loopEndTick J
Exception table:
from to target type
34 53 54 Class java.lang.Exception
}
SourceFile: "RealTimeSequencer.java"
NestHost: com.sun.media.sound.RealTimeSequencer
InnerClasses:
final TransmitterList = com.sun.media.sound.AbstractMidiDevice$TransmitterList of com.sun.media.sound.AbstractMidiDevice
public final TempoCache = com.sun.media.sound.MidiUtils$TempoCache of com.sun.media.sound.MidiUtils
private DataPump = com.sun.media.sound.RealTimeSequencer$DataPump of com.sun.media.sound.RealTimeSequencer