class com.sun.media.sound.SoftMainMixer$2 extends java.io.InputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.media.sound.SoftMainMixer$2
super_class: java.io.InputStream
{
private final com.sun.media.sound.SoftAudioBuffer[] buffers;
descriptor: [Lcom/sun/media/sound/SoftAudioBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int nrofchannels;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int buffersize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] bbuffer;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int bbuffer_pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final byte[] single;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final com.sun.media.sound.SoftMainMixer this$0;
descriptor: Lcom/sun/media/sound/SoftMainMixer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.media.sound.SoftMainMixer);
descriptor: (Lcom/sun/media/sound/SoftMainMixer;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.sun.media.sound.SoftMainMixer$2.this$0:Lcom/sun/media/sound/SoftMainMixer;
aload 0
invokespecial java.io.InputStream.<init>:()V
1: aload 0
aload 1
getfield com.sun.media.sound.SoftMainMixer.buffers:[Lcom/sun/media/sound/SoftAudioBuffer;
putfield com.sun.media.sound.SoftMainMixer$2.buffers:[Lcom/sun/media/sound/SoftAudioBuffer;
2: aload 0
3: aload 1
getfield com.sun.media.sound.SoftMainMixer.synth:Lcom/sun/media/sound/SoftSynthesizer;
invokevirtual com.sun.media.sound.SoftSynthesizer.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
putfield com.sun.media.sound.SoftMainMixer$2.nrofchannels:I
4: aload 0
aload 0
getfield com.sun.media.sound.SoftMainMixer$2.buffers:[Lcom/sun/media/sound/SoftAudioBuffer;
iconst_0
aaload
invokevirtual com.sun.media.sound.SoftAudioBuffer.getSize:()I
putfield com.sun.media.sound.SoftMainMixer$2.buffersize:I
5: aload 0
aload 0
getfield com.sun.media.sound.SoftMainMixer$2.buffersize:I
6: aload 1
getfield com.sun.media.sound.SoftMainMixer.synth:Lcom/sun/media/sound/SoftSynthesizer;
invokevirtual com.sun.media.sound.SoftSynthesizer.getFormat:()Ljavax/sound/sampled/AudioFormat;
7: invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
bipush 8
8: idiv
9: imul
10: aload 0
getfield com.sun.media.sound.SoftMainMixer$2.nrofchannels:I
11: imul
newarray 8
putfield com.sun.media.sound.SoftMainMixer$2.bbuffer:[B
12: aload 0
iconst_0
putfield com.sun.media.sound.SoftMainMixer$2.bbuffer_pos:I
13: aload 0
iconst_1
newarray 8
putfield com.sun.media.sound.SoftMainMixer$2.single:[B
14: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/media/sound/SoftMainMixer$2;
MethodParameters:
Name Flags
this$0 final
public void fillBuffer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftMainMixer$2.this$0:Lcom/sun/media/sound/SoftMainMixer;
invokevirtual com.sun.media.sound.SoftMainMixer.processAudioBuffers:()V
1: iconst_0
istore 1
start local 1 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftMainMixer$2.buffers:[Lcom/sun/media/sound/SoftAudioBuffer;
iload 1
aaload
aload 0
getfield com.sun.media.sound.SoftMainMixer$2.bbuffer:[B
iload 1
invokevirtual com.sun.media.sound.SoftAudioBuffer.get:([BI)V
4: iinc 1 1
StackMap locals:
StackMap stack:
5: iload 1
aload 0
getfield com.sun.media.sound.SoftMainMixer$2.nrofchannels:I
if_icmplt 3
end local 1 6: aload 0
iconst_0
putfield com.sun.media.sound.SoftMainMixer$2.bbuffer_pos:I
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/media/sound/SoftMainMixer$2;
2 6 1 i I
public int read(byte[], int, int);
descriptor: ([BII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.media.sound.SoftMainMixer$2.bbuffer:[B
arraylength
istore 4
start local 4 1: iload 2
iload 3
iadd
istore 5
start local 5 2: iload 2
istore 6
start local 6 3: aload 0
getfield com.sun.media.sound.SoftMainMixer$2.bbuffer:[B
astore 7
start local 7 4: goto 14
5: StackMap locals: com.sun.media.sound.SoftMainMixer$2 byte[] int int int int int byte[]
StackMap stack:
aload 0
invokevirtual com.sun.media.sound.SoftMainMixer$2.available:()I
ifne 7
6: aload 0
invokevirtual com.sun.media.sound.SoftMainMixer$2.fillBuffer:()V
goto 14
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftMainMixer$2.bbuffer_pos:I
istore 8
start local 8 8: goto 10
9: StackMap locals: int
StackMap stack:
aload 1
iload 2
iinc 2 1
aload 7
iload 8
iinc 8 1
baload
bastore
10: StackMap locals:
StackMap stack:
iload 2
iload 5
if_icmpge 11
iload 8
iload 4
if_icmplt 9
11: StackMap locals:
StackMap stack:
aload 0
iload 8
putfield com.sun.media.sound.SoftMainMixer$2.bbuffer_pos:I
12: aload 0
getfield com.sun.media.sound.SoftMainMixer$2.this$0:Lcom/sun/media/sound/SoftMainMixer;
getfield com.sun.media.sound.SoftMainMixer.readfully:Z
ifne 14
13: iload 2
iload 6
isub
ireturn
end local 8 14: StackMap locals:
StackMap stack:
iload 2
iload 5
if_icmplt 5
15: iload 3
ireturn
end local 7 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 16 0 this Lcom/sun/media/sound/SoftMainMixer$2;
0 16 1 b [B
0 16 2 off I
0 16 3 len I
1 16 4 bbuffer_len I
2 16 5 offlen I
3 16 6 orgoff I
4 16 7 bbuffer [B
8 14 8 bbuffer_pos I
MethodParameters:
Name Flags
b
off
len
public int read();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.media.sound.SoftMainMixer$2.single:[B
invokevirtual com.sun.media.sound.SoftMainMixer$2.read:([B)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
2: iconst_m1
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftMainMixer$2.single:[B
iconst_0
baload
sipush 255
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/sound/SoftMainMixer$2;
1 4 1 ret I
Exceptions:
throws java.io.IOException
public int available();
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.SoftMainMixer$2.bbuffer:[B
arraylength
aload 0
getfield com.sun.media.sound.SoftMainMixer$2.bbuffer_pos:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftMainMixer$2;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftMainMixer$2.this$0:Lcom/sun/media/sound/SoftMainMixer;
getfield com.sun.media.sound.SoftMainMixer.synth:Lcom/sun/media/sound/SoftSynthesizer;
invokevirtual com.sun.media.sound.SoftSynthesizer.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SoftMainMixer$2;
}
SourceFile: "SoftMainMixer.java"
EnclosingMethod: com.sun.media.sound.SoftMainMixer.<init>:(Lcom/sun/media/sound/SoftSynthesizer;)V
NestHost: com.sun.media.sound.SoftMainMixer
InnerClasses:
com.sun.media.sound.SoftMainMixer$2