public final class com.sun.media.sound.SoftMixingClip extends com.sun.media.sound.SoftMixingDataLine implements javax.sound.sampled.Clip
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.SoftMixingClip
super_class: com.sun.media.sound.SoftMixingDataLine
{
private javax.sound.sampled.AudioFormat format;
descriptor: Ljavax/sound/sampled/AudioFormat;
flags: (0x0002) ACC_PRIVATE
private int framesize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private byte[] data;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private final java.io.InputStream datastream;
descriptor: Ljava/io/InputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int offset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int bufferSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private float[] readbuffer;
descriptor: [F
flags: (0x0002) ACC_PRIVATE
private boolean open;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.sound.sampled.AudioFormat outputformat;
descriptor: Ljavax/sound/sampled/AudioFormat;
flags: (0x0002) ACC_PRIVATE
private int out_nrofchannels;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int in_nrofchannels;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int frameposition;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean frameposition_sg;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean active_sg;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int loopstart;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int loopend;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean active;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int loopcount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean _active;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int _frameposition;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean loop_sg;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int _loopcount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int _loopstart;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int _loopend;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private float _rightgain;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float _leftgain;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float _eff1gain;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float _eff2gain;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private com.sun.media.sound.AudioFloatInputStream afis;
descriptor: Lcom/sun/media/sound/AudioFloatInputStream;
flags: (0x0002) ACC_PRIVATE
void <init>(com.sun.media.sound.SoftMixingMixer, javax.sound.sampled.DataLine$Info);
descriptor: (Lcom/sun/media/sound/SoftMixingMixer;Ljavax/sound/sampled/DataLine$Info;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.sun.media.sound.SoftMixingDataLine.<init>:(Lcom/sun/media/sound/SoftMixingMixer;Ljavax/sound/sampled/DataLine$Info;)V
1: aload 0
new com.sun.media.sound.SoftMixingClip$1
dup
aload 0
invokespecial com.sun.media.sound.SoftMixingClip$1.<init>:(Lcom/sun/media/sound/SoftMixingClip;)V
putfield com.sun.media.sound.SoftMixingClip.datastream:Ljava/io/InputStream;
2: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip.open:Z
3: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip.frameposition:I
4: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip.frameposition_sg:Z
5: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip.active_sg:Z
6: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip.loopstart:I
7: aload 0
iconst_m1
putfield com.sun.media.sound.SoftMixingClip.loopend:I
8: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip.active:Z
9: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip.loopcount:I
10: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip._active:Z
11: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip._frameposition:I
12: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip.loop_sg:Z
13: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip._loopcount:I
14: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip._loopstart:I
15: aload 0
iconst_m1
putfield com.sun.media.sound.SoftMixingClip._loopend:I
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/media/sound/SoftMixingClip;
0 17 1 mixer Lcom/sun/media/sound/SoftMixingMixer;
0 17 2 info Ljavax/sound/sampled/DataLine$Info;
MethodParameters:
Name Flags
mixer
info
protected void processControlLogic();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.media.sound.SoftMixingClip.rightgain:F
putfield com.sun.media.sound.SoftMixingClip._rightgain:F
1: aload 0
aload 0
getfield com.sun.media.sound.SoftMixingClip.leftgain:F
putfield com.sun.media.sound.SoftMixingClip._leftgain:F
2: aload 0
aload 0
getfield com.sun.media.sound.SoftMixingClip.eff1gain:F
putfield com.sun.media.sound.SoftMixingClip._eff1gain:F
3: aload 0
aload 0
getfield com.sun.media.sound.SoftMixingClip.eff2gain:F
putfield com.sun.media.sound.SoftMixingClip._eff2gain:F
4: aload 0
getfield com.sun.media.sound.SoftMixingClip.active_sg:Z
ifeq 8
5: aload 0
aload 0
getfield com.sun.media.sound.SoftMixingClip.active:Z
putfield com.sun.media.sound.SoftMixingClip._active:Z
6: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip.active_sg:Z
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.media.sound.SoftMixingClip._active:Z
putfield com.sun.media.sound.SoftMixingClip.active:Z
9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftMixingClip.frameposition_sg:Z
ifeq 14
10: aload 0
aload 0
getfield com.sun.media.sound.SoftMixingClip.frameposition:I
putfield com.sun.media.sound.SoftMixingClip._frameposition:I
11: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip.frameposition_sg:Z
12: aload 0
aconst_null
putfield com.sun.media.sound.SoftMixingClip.afis:Lcom/sun/media/sound/AudioFloatInputStream;
13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.media.sound.SoftMixingClip._frameposition:I
putfield com.sun.media.sound.SoftMixingClip.frameposition:I
15: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftMixingClip.loop_sg:Z
ifeq 19
16: aload 0
aload 0
getfield com.sun.media.sound.SoftMixingClip.loopcount:I
putfield com.sun.media.sound.SoftMixingClip._loopcount:I
17: aload 0
aload 0
getfield com.sun.media.sound.SoftMixingClip.loopstart:I
putfield com.sun.media.sound.SoftMixingClip._loopstart:I
18: aload 0
aload 0
getfield com.sun.media.sound.SoftMixingClip.loopend:I
putfield com.sun.media.sound.SoftMixingClip._loopend:I
19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftMixingClip.afis:Lcom/sun/media/sound/AudioFloatInputStream;
ifnonnull 25
20: aload 0
new javax.sound.sampled.AudioInputStream
dup
21: aload 0
getfield com.sun.media.sound.SoftMixingClip.datastream:Ljava/io/InputStream;
aload 0
getfield com.sun.media.sound.SoftMixingClip.format:Ljavax/sound/sampled/AudioFormat;
ldc -1
invokespecial javax.sound.sampled.AudioInputStream.<init>:(Ljava/io/InputStream;Ljavax/sound/sampled/AudioFormat;J)V
22: invokestatic com.sun.media.sound.AudioFloatInputStream.getInputStream:(Ljavax/sound/sampled/AudioInputStream;)Lcom/sun/media/sound/AudioFloatInputStream;
putfield com.sun.media.sound.SoftMixingClip.afis:Lcom/sun/media/sound/AudioFloatInputStream;
23: aload 0
getfield com.sun.media.sound.SoftMixingClip.format:Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
aload 0
getfield com.sun.media.sound.SoftMixingClip.outputformat:Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
fsub
invokestatic java.lang.Math.abs:(F)F
f2d
ldc 1.0E-6
dcmpl
ifle 25
24: aload 0
new com.sun.media.sound.SoftMixingDataLine$AudioFloatInputStreamResampler
dup
aload 0
getfield com.sun.media.sound.SoftMixingClip.afis:Lcom/sun/media/sound/AudioFloatInputStream;
aload 0
getfield com.sun.media.sound.SoftMixingClip.outputformat:Ljavax/sound/sampled/AudioFormat;
invokespecial com.sun.media.sound.SoftMixingDataLine$AudioFloatInputStreamResampler.<init>:(Lcom/sun/media/sound/AudioFloatInputStream;Ljavax/sound/sampled/AudioFormat;)V
putfield com.sun.media.sound.SoftMixingClip.afis:Lcom/sun/media/sound/AudioFloatInputStream;
25: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/sun/media/sound/SoftMixingClip;
protected void processAudioLogic(com.sun.media.sound.SoftAudioBuffer[]);
descriptor: ([Lcom/sun/media/sound/SoftAudioBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.SoftMixingClip._active:Z
ifeq 72
1: aload 1
iconst_0
aaload
invokevirtual com.sun.media.sound.SoftAudioBuffer.array:()[F
astore 2
start local 2 2: aload 1
iconst_1
aaload
invokevirtual com.sun.media.sound.SoftAudioBuffer.array:()[F
astore 3
start local 3 3: aload 1
iconst_0
aaload
invokevirtual com.sun.media.sound.SoftAudioBuffer.getSize:()I
istore 4
start local 4 4: iload 4
aload 0
getfield com.sun.media.sound.SoftMixingClip.in_nrofchannels:I
imul
istore 5
start local 5 5: aload 0
getfield com.sun.media.sound.SoftMixingClip.readbuffer:[F
ifnull 6
aload 0
getfield com.sun.media.sound.SoftMixingClip.readbuffer:[F
arraylength
iload 5
if_icmpge 7
6: StackMap locals: com.sun.media.sound.SoftMixingClip com.sun.media.sound.SoftAudioBuffer[] float[] float[] int int
StackMap stack:
aload 0
iload 5
newarray 6
putfield com.sun.media.sound.SoftMixingClip.readbuffer:[F
7: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 8: aload 0
getfield com.sun.media.sound.SoftMixingClip.afis:Lcom/sun/media/sound/AudioFloatInputStream;
aload 0
getfield com.sun.media.sound.SoftMixingClip.readbuffer:[F
invokevirtual com.sun.media.sound.AudioFloatInputStream.read:([F)I
istore 6
9: iload 6
iconst_m1
if_icmpne 12
10: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip._active:Z
11: return
12: StackMap locals: int
StackMap stack:
iload 6
aload 0
getfield com.sun.media.sound.SoftMixingClip.in_nrofchannels:I
if_icmpeq 16
13: aload 0
getfield com.sun.media.sound.SoftMixingClip.readbuffer:[F
iload 6
iload 5
fconst_0
invokestatic java.util.Arrays.fill:([FIIF)V
14: goto 16
StackMap locals:
StackMap stack: java.io.IOException
15: pop
16: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftMixingClip.in_nrofchannels:I
istore 7
start local 7 17: iconst_0
istore 8
start local 8 18: iconst_0
istore 9
start local 9 19: goto 22
20: StackMap locals: int int int
StackMap stack:
aload 2
iload 8
dup2
faload
aload 0
getfield com.sun.media.sound.SoftMixingClip.readbuffer:[F
iload 9
faload
aload 0
getfield com.sun.media.sound.SoftMixingClip._leftgain:F
fmul
fadd
fastore
21: iinc 8 1
iload 9
iload 7
iadd
istore 9
StackMap locals:
StackMap stack:
22: iload 8
iload 4
if_icmplt 20
end local 9 end local 8 23: aload 0
getfield com.sun.media.sound.SoftMixingClip.out_nrofchannels:I
iconst_1
if_icmpeq 38
24: aload 0
getfield com.sun.media.sound.SoftMixingClip.in_nrofchannels:I
iconst_1
if_icmpne 32
25: iconst_0
istore 8
start local 8 26: iconst_0
istore 9
start local 9 27: goto 30
28: StackMap locals:
StackMap stack:
aload 3
iload 8
dup2
faload
aload 0
getfield com.sun.media.sound.SoftMixingClip.readbuffer:[F
iload 9
faload
aload 0
getfield com.sun.media.sound.SoftMixingClip._rightgain:F
fmul
fadd
fastore
29: iinc 8 1
iload 9
iload 7
iadd
istore 9
StackMap locals:
StackMap stack:
30: iload 8
iload 4
if_icmplt 28
end local 9 end local 8 31: goto 38
32: StackMap locals:
StackMap stack:
iconst_0
istore 8
start local 8 33: iconst_1
istore 9
start local 9 34: goto 37
35: StackMap locals: int int
StackMap stack:
aload 3
iload 8
dup2
faload
aload 0
getfield com.sun.media.sound.SoftMixingClip.readbuffer:[F
iload 9
faload
aload 0
getfield com.sun.media.sound.SoftMixingClip._rightgain:F
fmul
fadd
fastore
36: iinc 8 1
iload 9
iload 7
iadd
istore 9
StackMap locals:
StackMap stack:
37: iload 8
iload 4
if_icmplt 35
end local 9 end local 8 38: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftMixingClip._eff1gain:F
f2d
ldc 2.0E-4
dcmpl
ifle 55
39: aload 1
iconst_2
aaload
40: invokevirtual com.sun.media.sound.SoftAudioBuffer.array:()[F
41: astore 8
start local 8 42: iconst_0
istore 9
start local 9 43: iconst_0
istore 10
start local 10 44: goto 47
45: StackMap locals: float[] int int
StackMap stack:
aload 8
iload 9
dup2
faload
aload 0
getfield com.sun.media.sound.SoftMixingClip.readbuffer:[F
iload 10
faload
aload 0
getfield com.sun.media.sound.SoftMixingClip._eff1gain:F
fmul
fadd
fastore
46: iinc 9 1
iload 10
iload 7
iadd
istore 10
StackMap locals:
StackMap stack:
47: iload 9
iload 4
if_icmplt 45
end local 10 end local 9 48: aload 0
getfield com.sun.media.sound.SoftMixingClip.in_nrofchannels:I
iconst_2
if_icmpne 55
49: iconst_0
istore 9
start local 9 50: iconst_1
istore 10
start local 10 51: goto 54
52: StackMap locals:
StackMap stack:
aload 8
iload 9
dup2
faload
aload 0
getfield com.sun.media.sound.SoftMixingClip.readbuffer:[F
iload 10
faload
aload 0
getfield com.sun.media.sound.SoftMixingClip._eff1gain:F
fmul
fadd
fastore
53: iinc 9 1
iload 10
iload 7
iadd
istore 10
StackMap locals:
StackMap stack:
54: iload 9
iload 4
if_icmplt 52
end local 10 end local 9 end local 8 55: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftMixingClip._eff2gain:F
f2d
ldc 2.0E-4
dcmpl
ifle 72
56: aload 1
iconst_3
aaload
57: invokevirtual com.sun.media.sound.SoftAudioBuffer.array:()[F
58: astore 8
start local 8 59: iconst_0
istore 9
start local 9 60: iconst_0
istore 10
start local 10 61: goto 64
62: StackMap locals: float[] int int
StackMap stack:
aload 8
iload 9
dup2
faload
aload 0
getfield com.sun.media.sound.SoftMixingClip.readbuffer:[F
iload 10
faload
aload 0
getfield com.sun.media.sound.SoftMixingClip._eff2gain:F
fmul
fadd
fastore
63: iinc 9 1
iload 10
iload 7
iadd
istore 10
StackMap locals:
StackMap stack:
64: iload 9
iload 4
if_icmplt 62
end local 10 end local 9 65: aload 0
getfield com.sun.media.sound.SoftMixingClip.in_nrofchannels:I
iconst_2
if_icmpne 72
66: iconst_0
istore 9
start local 9 67: iconst_1
istore 10
start local 10 68: goto 71
69: StackMap locals:
StackMap stack:
aload 8
iload 9
dup2
faload
aload 0
getfield com.sun.media.sound.SoftMixingClip.readbuffer:[F
iload 10
faload
aload 0
getfield com.sun.media.sound.SoftMixingClip._eff2gain:F
fmul
fadd
fastore
70: iinc 9 1
iload 10
iload 7
iadd
istore 10
StackMap locals:
StackMap stack:
71: iload 9
iload 4
if_icmplt 69
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 72: StackMap locals: com.sun.media.sound.SoftMixingClip com.sun.media.sound.SoftAudioBuffer[]
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 73 0 this Lcom/sun/media/sound/SoftMixingClip;
0 73 1 buffers [Lcom/sun/media/sound/SoftAudioBuffer;
2 72 2 left [F
3 72 3 right [F
4 72 4 bufferlen I
5 72 5 readlen I
8 72 6 ret I
17 72 7 in_c I
18 23 8 i I
19 23 9 ix I
26 31 8 i I
27 31 9 ix I
33 38 8 i I
34 38 9 ix I
42 55 8 eff1 [F
43 48 9 i I
44 48 10 ix I
50 55 9 i I
51 55 10 ix I
59 72 8 eff2 [F
60 65 9 i I
61 65 10 ix I
67 72 9 i I
68 72 10 ix I
Exception table:
from to target type
8 11 15 Class java.io.IOException
12 14 15 Class java.io.IOException
MethodParameters:
Name Flags
buffers
public int getFrameLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftMixingClip.bufferSize:I
aload 0
getfield com.sun.media.sound.SoftMixingClip.format:Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
idiv
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftMixingClip;
public long getMicrosecondLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.getFrameLength:()I
i2d
ldc 1000000.0
aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.getFormat:()Ljavax/sound/sampled/AudioFormat;
1: invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
f2d
ddiv
2: dmul
d2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/sound/SoftMixingClip;
public void loop(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield com.sun.media.sound.SoftMixingClip.control_mutex:Ljava/lang/Object;
dup
astore 3
monitorenter
2: aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.isOpen:()Z
ifeq 12
3: aload 0
getfield com.sun.media.sound.SoftMixingClip.active:Z
ifeq 6
4: aload 3
monitorexit
5: return
6: StackMap locals: javax.sound.sampled.LineEvent java.lang.Object
StackMap stack:
aload 0
iconst_1
putfield com.sun.media.sound.SoftMixingClip.active:Z
7: aload 0
iconst_1
putfield com.sun.media.sound.SoftMixingClip.active_sg:Z
8: aload 0
iload 1
putfield com.sun.media.sound.SoftMixingClip.loopcount:I
9: new javax.sound.sampled.LineEvent
dup
aload 0
getstatic javax.sound.sampled.LineEvent$Type.START:Ljavax/sound/sampled/LineEvent$Type;
10: aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.getLongFramePosition:()J
11: invokespecial javax.sound.sampled.LineEvent.<init>:(Ljavax/sound/sampled/Line;Ljavax/sound/sampled/LineEvent$Type;J)V
astore 2
12: StackMap locals:
StackMap stack:
aload 3
monitorexit
13: goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
14: aload 3
monitorexit
15: athrow
16: StackMap locals:
StackMap stack:
aload 2
ifnull 18
17: aload 0
aload 2
invokevirtual com.sun.media.sound.SoftMixingClip.sendEvent:(Ljavax/sound/sampled/LineEvent;)V
18: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/media/sound/SoftMixingClip;
0 19 1 count I
1 19 2 event Ljavax/sound/sampled/LineEvent;
Exception table:
from to target type
2 5 14 any
6 13 14 any
14 15 14 any
MethodParameters:
Name Flags
count
public void open(javax.sound.sampled.AudioInputStream);
descriptor: (Ljavax/sound/sampled/AudioInputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.isOpen:()Z
ifeq 4
1: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Clip is already open with format "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " and frame lengh of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.getFrameLength:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokestatic com.sun.media.sound.AudioFloatConverter.getConverter:(Ljavax/sound/sampled/AudioFormat;)Lcom/sun/media/sound/AudioFloatConverter;
ifnonnull 8
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid format : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFrameLength:()J
ldc -1
lcmp
ifeq 26
9: aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFrameLength:()J
l2i
10: aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
11: imul
newarray 8
astore 2
start local 2 12: sipush 512
aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
imul
istore 3
start local 3 13: iconst_0
istore 4
start local 4 14: goto 23
15: StackMap locals: byte[] int int
StackMap stack:
iload 3
aload 2
arraylength
iload 4
isub
if_icmple 17
16: aload 2
arraylength
iload 4
isub
istore 3
17: StackMap locals:
StackMap stack:
aload 1
aload 2
iload 4
iload 3
invokevirtual javax.sound.sampled.AudioInputStream.read:([BII)I
istore 5
start local 5 18: iload 5
iconst_m1
if_icmpne 20
19: goto 24
20: StackMap locals: int
StackMap stack:
iload 5
ifne 22
21: invokestatic java.lang.Thread.yield:()V
22: StackMap locals:
StackMap stack:
iload 4
iload 5
iadd
istore 4
end local 5 23: StackMap locals:
StackMap stack:
iload 4
aload 2
arraylength
if_icmpne 15
24: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
aload 2
iconst_0
iload 4
invokevirtual com.sun.media.sound.SoftMixingClip.open:(Ljavax/sound/sampled/AudioFormat;[BII)V
end local 4 end local 3 end local 2 25: goto 35
26: StackMap locals:
StackMap stack:
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 2
start local 2 27: sipush 512
aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
imul
newarray 8
astore 3
start local 3 28: iconst_0
istore 4
start local 4 29: goto 33
30: StackMap locals: java.io.ByteArrayOutputStream byte[] int
StackMap stack:
iload 4
ifne 32
31: invokestatic java.lang.Thread.yield:()V
32: StackMap locals:
StackMap stack:
aload 2
aload 3
iconst_0
iload 4
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
33: StackMap locals:
StackMap stack:
aload 1
aload 3
invokevirtual javax.sound.sampled.AudioInputStream.read:([B)I
dup
istore 4
iconst_m1
if_icmpne 30
34: aload 0
aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
aload 2
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
iconst_0
aload 2
invokevirtual java.io.ByteArrayOutputStream.size:()I
invokevirtual com.sun.media.sound.SoftMixingClip.open:(Ljavax/sound/sampled/AudioFormat;[BII)V
end local 4 end local 3 end local 2 35: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lcom/sun/media/sound/SoftMixingClip;
0 36 1 stream Ljavax/sound/sampled/AudioInputStream;
12 25 2 data [B
13 25 3 readsize I
14 25 4 len I
18 23 5 ret I
27 35 2 baos Ljava/io/ByteArrayOutputStream;
28 35 3 b [B
29 35 4 r I
Exceptions:
throws javax.sound.sampled.LineUnavailableException, java.io.IOException
MethodParameters:
Name Flags
stream
public void open(javax.sound.sampled.AudioFormat, byte[], int, int);
descriptor: (Ljavax/sound/sampled/AudioFormat;[BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.sun.media.sound.SoftMixingClip.control_mutex:Ljava/lang/Object;
dup
astore 5
monitorenter
1: aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.isOpen:()Z
ifeq 7
2: new java.lang.IllegalStateException
dup
3: new java.lang.StringBuilder
dup
ldc "Clip is already open with format "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc " and frame lengh of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.getFrameLength:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.lang.Object
StackMap stack:
aload 1
invokestatic com.sun.media.sound.AudioFloatConverter.getConverter:(Ljavax/sound/sampled/AudioFormat;)Lcom/sun/media/sound/AudioFloatConverter;
ifnonnull 11
8: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid format : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
9: aload 1
invokevirtual javax.sound.sampled.AudioFormat.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
iload 4
invokestatic com.sun.media.sound.Toolkit.validateBuffer:(II)V
12: aload 2
ifnull 14
13: aload 0
aload 2
aload 2
arraylength
invokestatic java.util.Arrays.copyOf:([BI)[B
putfield com.sun.media.sound.SoftMixingClip.data:[B
14: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield com.sun.media.sound.SoftMixingClip.offset:I
15: aload 0
iload 4
putfield com.sun.media.sound.SoftMixingClip.bufferSize:I
16: aload 0
aload 1
putfield com.sun.media.sound.SoftMixingClip.format:Ljavax/sound/sampled/AudioFormat;
17: aload 0
aload 1
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
putfield com.sun.media.sound.SoftMixingClip.framesize:I
18: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip.loopstart:I
19: aload 0
iconst_m1
putfield com.sun.media.sound.SoftMixingClip.loopend:I
20: aload 0
iconst_1
putfield com.sun.media.sound.SoftMixingClip.loop_sg:Z
21: aload 0
getfield com.sun.media.sound.SoftMixingClip.mixer:Lcom/sun/media/sound/SoftMixingMixer;
invokevirtual com.sun.media.sound.SoftMixingMixer.isOpen:()Z
ifne 24
22: aload 0
getfield com.sun.media.sound.SoftMixingClip.mixer:Lcom/sun/media/sound/SoftMixingMixer;
invokevirtual com.sun.media.sound.SoftMixingMixer.open:()V
23: aload 0
getfield com.sun.media.sound.SoftMixingClip.mixer:Lcom/sun/media/sound/SoftMixingMixer;
iconst_1
putfield com.sun.media.sound.SoftMixingMixer.implicitOpen:Z
24: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.media.sound.SoftMixingClip.mixer:Lcom/sun/media/sound/SoftMixingMixer;
invokevirtual com.sun.media.sound.SoftMixingMixer.getFormat:()Ljavax/sound/sampled/AudioFormat;
putfield com.sun.media.sound.SoftMixingClip.outputformat:Ljavax/sound/sampled/AudioFormat;
25: aload 0
aload 0
getfield com.sun.media.sound.SoftMixingClip.outputformat:Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
putfield com.sun.media.sound.SoftMixingClip.out_nrofchannels:I
26: aload 0
aload 1
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
putfield com.sun.media.sound.SoftMixingClip.in_nrofchannels:I
27: aload 0
iconst_1
putfield com.sun.media.sound.SoftMixingClip.open:Z
28: aload 0
getfield com.sun.media.sound.SoftMixingClip.mixer:Lcom/sun/media/sound/SoftMixingMixer;
invokevirtual com.sun.media.sound.SoftMixingMixer.getMainMixer:()Lcom/sun/media/sound/SoftMixingMainMixer;
aload 0
invokevirtual com.sun.media.sound.SoftMixingMainMixer.openLine:(Lcom/sun/media/sound/SoftMixingDataLine;)V
29: aload 5
monitorexit
30: goto 33
StackMap locals:
StackMap stack: java.lang.Throwable
31: aload 5
monitorexit
32: athrow
33: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lcom/sun/media/sound/SoftMixingClip;
0 34 1 format Ljavax/sound/sampled/AudioFormat;
0 34 2 data [B
0 34 3 offset I
0 34 4 bufferSize I
Exception table:
from to target type
1 30 31 any
31 32 31 any
Exceptions:
throws javax.sound.sampled.LineUnavailableException
MethodParameters:
Name Flags
format
data
offset
bufferSize
public void setFramePosition(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.SoftMixingClip.control_mutex:Ljava/lang/Object;
dup
astore 2
monitorenter
1: aload 0
iconst_1
putfield com.sun.media.sound.SoftMixingClip.frameposition_sg:Z
2: aload 0
iload 1
putfield com.sun.media.sound.SoftMixingClip.frameposition:I
3: aload 2
monitorexit
4: goto 7
StackMap locals: com.sun.media.sound.SoftMixingClip int java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 2
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/media/sound/SoftMixingClip;
0 8 1 frames I
Exception table:
from to target type
1 4 5 any
5 6 5 any
MethodParameters:
Name Flags
frames
public void setLoopPoints(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.media.sound.SoftMixingClip.control_mutex:Ljava/lang/Object;
dup
astore 3
monitorenter
1: iload 2
iconst_m1
if_icmpeq 10
2: iload 2
iload 1
if_icmpge 6
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid loop points : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " - "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.lang.Object
StackMap stack:
iload 2
aload 0
getfield com.sun.media.sound.SoftMixingClip.framesize:I
imul
aload 0
getfield com.sun.media.sound.SoftMixingClip.bufferSize:I
if_icmple 10
7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid loop points : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " - "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield com.sun.media.sound.SoftMixingClip.framesize:I
imul
aload 0
getfield com.sun.media.sound.SoftMixingClip.bufferSize:I
if_icmple 14
11: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid loop points : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " - "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
iload 1
ifle 18
15: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid loop points : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
16: iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " - "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield com.sun.media.sound.SoftMixingClip.loopstart:I
19: aload 0
iload 2
putfield com.sun.media.sound.SoftMixingClip.loopend:I
20: aload 0
iconst_1
putfield com.sun.media.sound.SoftMixingClip.loop_sg:Z
21: aload 3
monitorexit
22: goto 25
StackMap locals:
StackMap stack: java.lang.Throwable
23: aload 3
monitorexit
24: athrow
25: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/sun/media/sound/SoftMixingClip;
0 26 1 start I
0 26 2 end I
Exception table:
from to target type
1 22 23 any
23 24 23 any
MethodParameters:
Name Flags
start
end
public void setMicrosecondPosition(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
l2d
aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.getFormat:()Ljavax/sound/sampled/AudioFormat;
1: invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
f2d
ldc 1000000.0
ddiv
dmul
d2i
2: invokevirtual com.sun.media.sound.SoftMixingClip.setFramePosition:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/sound/SoftMixingClip;
0 4 1 microseconds J
MethodParameters:
Name Flags
microseconds
public int available();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftMixingClip;
public void drain();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftMixingClip;
public void flush();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftMixingClip;
public int getBufferSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftMixingClip.bufferSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftMixingClip;
public javax.sound.sampled.AudioFormat getFormat();
descriptor: ()Ljavax/sound/sampled/AudioFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftMixingClip.format:Ljavax/sound/sampled/AudioFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftMixingClip;
public int getFramePosition();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftMixingClip.control_mutex:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.media.sound.SoftMixingClip.frameposition:I
aload 1
monitorexit
2: ireturn
3: StackMap locals: com.sun.media.sound.SoftMixingClip java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/SoftMixingClip;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public float getLevel();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc -1.0
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftMixingClip;
public long getLongFramePosition();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.getFramePosition:()I
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftMixingClip;
public long getMicrosecondPosition();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.getFramePosition:()I
i2d
ldc 1000000.0
aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.getFormat:()Ljavax/sound/sampled/AudioFormat;
1: invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
f2d
ddiv
2: dmul
d2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/sound/SoftMixingClip;
public boolean isActive();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftMixingClip.control_mutex:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.media.sound.SoftMixingClip.active:Z
aload 1
monitorexit
2: ireturn
3: StackMap locals: com.sun.media.sound.SoftMixingClip java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/SoftMixingClip;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public boolean isRunning();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftMixingClip.control_mutex:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.media.sound.SoftMixingClip.active:Z
aload 1
monitorexit
2: ireturn
3: StackMap locals: com.sun.media.sound.SoftMixingClip java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/SoftMixingClip;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield com.sun.media.sound.SoftMixingClip.control_mutex:Ljava/lang/Object;
dup
astore 2
monitorenter
2: aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.isOpen:()Z
ifeq 12
3: aload 0
getfield com.sun.media.sound.SoftMixingClip.active:Z
ifeq 6
4: aload 2
monitorexit
5: return
6: StackMap locals: javax.sound.sampled.LineEvent java.lang.Object
StackMap stack:
aload 0
iconst_1
putfield com.sun.media.sound.SoftMixingClip.active:Z
7: aload 0
iconst_1
putfield com.sun.media.sound.SoftMixingClip.active_sg:Z
8: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip.loopcount:I
9: new javax.sound.sampled.LineEvent
dup
aload 0
getstatic javax.sound.sampled.LineEvent$Type.START:Ljavax/sound/sampled/LineEvent$Type;
10: aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.getLongFramePosition:()J
11: invokespecial javax.sound.sampled.LineEvent.<init>:(Ljavax/sound/sampled/Line;Ljavax/sound/sampled/LineEvent$Type;J)V
astore 1
12: StackMap locals:
StackMap stack:
aload 2
monitorexit
13: goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
14: aload 2
monitorexit
15: athrow
16: StackMap locals:
StackMap stack:
aload 1
ifnull 18
17: aload 0
aload 1
invokevirtual com.sun.media.sound.SoftMixingClip.sendEvent:(Ljavax/sound/sampled/LineEvent;)V
18: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/media/sound/SoftMixingClip;
1 19 1 event Ljavax/sound/sampled/LineEvent;
Exception table:
from to target type
2 5 14 any
6 13 14 any
14 15 14 any
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield com.sun.media.sound.SoftMixingClip.control_mutex:Ljava/lang/Object;
dup
astore 2
monitorenter
2: aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.isOpen:()Z
ifeq 11
3: aload 0
getfield com.sun.media.sound.SoftMixingClip.active:Z
ifne 6
4: aload 2
monitorexit
5: return
6: StackMap locals: javax.sound.sampled.LineEvent java.lang.Object
StackMap stack:
aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip.active:Z
7: aload 0
iconst_1
putfield com.sun.media.sound.SoftMixingClip.active_sg:Z
8: new javax.sound.sampled.LineEvent
dup
aload 0
getstatic javax.sound.sampled.LineEvent$Type.STOP:Ljavax/sound/sampled/LineEvent$Type;
9: aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.getLongFramePosition:()J
10: invokespecial javax.sound.sampled.LineEvent.<init>:(Ljavax/sound/sampled/Line;Ljavax/sound/sampled/LineEvent$Type;J)V
astore 1
11: StackMap locals:
StackMap stack:
aload 2
monitorexit
12: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
13: aload 2
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
aload 1
ifnull 17
16: aload 0
aload 1
invokevirtual com.sun.media.sound.SoftMixingClip.sendEvent:(Ljavax/sound/sampled/LineEvent;)V
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/media/sound/SoftMixingClip;
1 18 1 event Ljavax/sound/sampled/LineEvent;
Exception table:
from to target type
2 5 13 any
6 12 13 any
13 14 13 any
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield com.sun.media.sound.SoftMixingClip.control_mutex:Ljava/lang/Object;
dup
astore 2
monitorenter
2: aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.isOpen:()Z
ifne 5
3: aload 2
monitorexit
4: return
5: StackMap locals: javax.sound.sampled.LineEvent java.lang.Object
StackMap stack:
aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.stop:()V
6: new javax.sound.sampled.LineEvent
dup
aload 0
getstatic javax.sound.sampled.LineEvent$Type.CLOSE:Ljavax/sound/sampled/LineEvent$Type;
7: aload 0
invokevirtual com.sun.media.sound.SoftMixingClip.getLongFramePosition:()J
8: invokespecial javax.sound.sampled.LineEvent.<init>:(Ljavax/sound/sampled/Line;Ljavax/sound/sampled/LineEvent$Type;J)V
astore 1
9: aload 0
iconst_0
putfield com.sun.media.sound.SoftMixingClip.open:Z
10: aload 0
getfield com.sun.media.sound.SoftMixingClip.mixer:Lcom/sun/media/sound/SoftMixingMixer;
invokevirtual com.sun.media.sound.SoftMixingMixer.getMainMixer:()Lcom/sun/media/sound/SoftMixingMainMixer;
aload 0
invokevirtual com.sun.media.sound.SoftMixingMainMixer.closeLine:(Lcom/sun/media/sound/SoftMixingDataLine;)V
11: aload 2
monitorexit
12: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
13: aload 2
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
aload 1
ifnull 17
16: aload 0
aload 1
invokevirtual com.sun.media.sound.SoftMixingClip.sendEvent:(Ljavax/sound/sampled/LineEvent;)V
17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/media/sound/SoftMixingClip;
1 18 1 event Ljavax/sound/sampled/LineEvent;
Exception table:
from to target type
2 4 13 any
5 12 13 any
13 14 13 any
public boolean isOpen();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftMixingClip.open:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftMixingClip;
public void open();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftMixingClip.data:[B
ifnonnull 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "Illegal call to open() in interface Clip"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.media.sound.SoftMixingClip.format:Ljavax/sound/sampled/AudioFormat;
aload 0
getfield com.sun.media.sound.SoftMixingClip.data:[B
aload 0
getfield com.sun.media.sound.SoftMixingClip.offset:I
aload 0
getfield com.sun.media.sound.SoftMixingClip.bufferSize:I
invokevirtual com.sun.media.sound.SoftMixingClip.open:(Ljavax/sound/sampled/AudioFormat;[BII)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/media/sound/SoftMixingClip;
Exceptions:
throws javax.sound.sampled.LineUnavailableException
}
SourceFile: "SoftMixingClip.java"
NestMembers:
com.sun.media.sound.SoftMixingClip$1
InnerClasses:
com.sun.media.sound.SoftMixingClip$1
protected final AudioFloatInputStreamResampler = com.sun.media.sound.SoftMixingDataLine$AudioFloatInputStreamResampler of com.sun.media.sound.SoftMixingDataLine
public Info = javax.sound.sampled.DataLine$Info of javax.sound.sampled.DataLine
public Type = javax.sound.sampled.LineEvent$Type of javax.sound.sampled.LineEvent