public final class com.sun.media.sound.SoftAudioBuffer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.SoftAudioBuffer
super_class: java.lang.Object
{
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private float[] buffer;
descriptor: [F
flags: (0x0002) ACC_PRIVATE
private boolean empty;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.sound.sampled.AudioFormat format;
descriptor: Ljavax/sound/sampled/AudioFormat;
flags: (0x0002) ACC_PRIVATE
private com.sun.media.sound.AudioFloatConverter converter;
descriptor: Lcom/sun/media/sound/AudioFloatConverter;
flags: (0x0002) ACC_PRIVATE
private byte[] converter_buffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
public void <init>(int, javax.sound.sampled.AudioFormat);
descriptor: (ILjavax/sound/sampled/AudioFormat;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_1
putfield com.sun.media.sound.SoftAudioBuffer.empty:Z
2: aload 0
iload 1
putfield com.sun.media.sound.SoftAudioBuffer.size:I
3: aload 0
aload 2
putfield com.sun.media.sound.SoftAudioBuffer.format:Ljavax/sound/sampled/AudioFormat;
4: aload 0
aload 2
invokestatic com.sun.media.sound.AudioFloatConverter.getConverter:(Ljavax/sound/sampled/AudioFormat;)Lcom/sun/media/sound/AudioFloatConverter;
putfield com.sun.media.sound.SoftAudioBuffer.converter:Lcom/sun/media/sound/AudioFloatConverter;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/media/sound/SoftAudioBuffer;
0 6 1 size I
0 6 2 format Ljavax/sound/sampled/AudioFormat;
MethodParameters:
Name Flags
size
format
public void swap(com.sun.media.sound.SoftAudioBuffer);
descriptor: (Lcom/sun/media/sound/SoftAudioBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.SoftAudioBuffer.size:I
istore 2
start local 2 1: aload 0
getfield com.sun.media.sound.SoftAudioBuffer.buffer:[F
astore 3
start local 3 2: aload 0
getfield com.sun.media.sound.SoftAudioBuffer.empty:Z
istore 4
start local 4 3: aload 0
getfield com.sun.media.sound.SoftAudioBuffer.format:Ljavax/sound/sampled/AudioFormat;
astore 5
start local 5 4: aload 0
getfield com.sun.media.sound.SoftAudioBuffer.converter:Lcom/sun/media/sound/AudioFloatConverter;
astore 6
start local 6 5: aload 0
getfield com.sun.media.sound.SoftAudioBuffer.converter_buffer:[B
astore 7
start local 7 6: aload 0
aload 1
getfield com.sun.media.sound.SoftAudioBuffer.size:I
putfield com.sun.media.sound.SoftAudioBuffer.size:I
7: aload 0
aload 1
getfield com.sun.media.sound.SoftAudioBuffer.buffer:[F
putfield com.sun.media.sound.SoftAudioBuffer.buffer:[F
8: aload 0
aload 1
getfield com.sun.media.sound.SoftAudioBuffer.empty:Z
putfield com.sun.media.sound.SoftAudioBuffer.empty:Z
9: aload 0
aload 1
getfield com.sun.media.sound.SoftAudioBuffer.format:Ljavax/sound/sampled/AudioFormat;
putfield com.sun.media.sound.SoftAudioBuffer.format:Ljavax/sound/sampled/AudioFormat;
10: aload 0
aload 1
getfield com.sun.media.sound.SoftAudioBuffer.converter:Lcom/sun/media/sound/AudioFloatConverter;
putfield com.sun.media.sound.SoftAudioBuffer.converter:Lcom/sun/media/sound/AudioFloatConverter;
11: aload 0
aload 1
getfield com.sun.media.sound.SoftAudioBuffer.converter_buffer:[B
putfield com.sun.media.sound.SoftAudioBuffer.converter_buffer:[B
12: aload 1
iload 2
putfield com.sun.media.sound.SoftAudioBuffer.size:I
13: aload 1
aload 3
putfield com.sun.media.sound.SoftAudioBuffer.buffer:[F
14: aload 1
iload 4
putfield com.sun.media.sound.SoftAudioBuffer.empty:Z
15: aload 1
aload 5
putfield com.sun.media.sound.SoftAudioBuffer.format:Ljavax/sound/sampled/AudioFormat;
16: aload 1
aload 6
putfield com.sun.media.sound.SoftAudioBuffer.converter:Lcom/sun/media/sound/AudioFloatConverter;
17: aload 1
aload 7
putfield com.sun.media.sound.SoftAudioBuffer.converter_buffer:[B
18: return
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 19 0 this Lcom/sun/media/sound/SoftAudioBuffer;
0 19 1 swap Lcom/sun/media/sound/SoftAudioBuffer;
1 19 2 bak_size I
2 19 3 bak_buffer [F
3 19 4 bak_empty Z
4 19 5 bak_format Ljavax/sound/sampled/AudioFormat;
5 19 6 bak_converter Lcom/sun/media/sound/AudioFloatConverter;
6 19 7 bak_converter_buffer [B
MethodParameters:
Name Flags
swap
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.SoftAudioBuffer.format:Ljavax/sound/sampled/AudioFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftAudioBuffer;
public int getSize();
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.SoftAudioBuffer.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftAudioBuffer;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftAudioBuffer.empty:Z
ifne 3
1: aload 0
getfield com.sun.media.sound.SoftAudioBuffer.buffer:[F
fconst_0
invokestatic java.util.Arrays.fill:([FF)V
2: aload 0
iconst_1
putfield com.sun.media.sound.SoftAudioBuffer.empty:Z
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/sound/SoftAudioBuffer;
public boolean isSilent();
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.SoftAudioBuffer.empty:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftAudioBuffer;
public float[] array();
descriptor: ()[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.sun.media.sound.SoftAudioBuffer.empty:Z
1: aload 0
getfield com.sun.media.sound.SoftAudioBuffer.buffer:[F
ifnonnull 3
2: aload 0
aload 0
getfield com.sun.media.sound.SoftAudioBuffer.size:I
newarray 6
putfield com.sun.media.sound.SoftAudioBuffer.buffer:[F
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftAudioBuffer.buffer:[F
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/sound/SoftAudioBuffer;
public void get(byte[], int);
descriptor: ([BI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.media.sound.SoftAudioBuffer.format:Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
aload 0
getfield com.sun.media.sound.SoftAudioBuffer.format:Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
idiv
istore 3
start local 3 1: aload 0
getfield com.sun.media.sound.SoftAudioBuffer.size:I
iload 3
imul
istore 4
start local 4 2: aload 0
getfield com.sun.media.sound.SoftAudioBuffer.converter_buffer:[B
ifnull 3
aload 0
getfield com.sun.media.sound.SoftAudioBuffer.converter_buffer:[B
arraylength
iload 4
if_icmpge 4
3: StackMap locals: int int
StackMap stack:
aload 0
iload 4
newarray 8
putfield com.sun.media.sound.SoftAudioBuffer.converter_buffer:[B
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftAudioBuffer.format:Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
iconst_1
if_icmpne 7
5: aload 0
getfield com.sun.media.sound.SoftAudioBuffer.converter:Lcom/sun/media/sound/AudioFloatConverter;
aload 0
invokevirtual com.sun.media.sound.SoftAudioBuffer.array:()[F
aload 0
getfield com.sun.media.sound.SoftAudioBuffer.size:I
aload 1
invokevirtual com.sun.media.sound.AudioFloatConverter.toByteArray:([FI[B)[B
pop
6: goto 25
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftAudioBuffer.converter:Lcom/sun/media/sound/AudioFloatConverter;
aload 0
invokevirtual com.sun.media.sound.SoftAudioBuffer.array:()[F
aload 0
getfield com.sun.media.sound.SoftAudioBuffer.size:I
aload 0
getfield com.sun.media.sound.SoftAudioBuffer.converter_buffer:[B
invokevirtual com.sun.media.sound.AudioFloatConverter.toByteArray:([FI[B)[B
pop
8: iload 2
aload 0
getfield com.sun.media.sound.SoftAudioBuffer.format:Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
if_icmplt 10
9: return
10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftAudioBuffer.format:Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
iload 3
imul
istore 5
start local 5 11: iload 3
istore 6
start local 6 12: iconst_0
istore 7
start local 7 13: goto 24
14: StackMap locals: int int int
StackMap stack:
iload 7
istore 8
start local 8 15: iload 2
iload 3
imul
iload 7
iadd
istore 9
start local 9 16: iconst_0
istore 10
start local 10 17: goto 22
18: StackMap locals: int int int
StackMap stack:
aload 1
iload 9
aload 0
getfield com.sun.media.sound.SoftAudioBuffer.converter_buffer:[B
iload 8
baload
bastore
19: iload 9
iload 5
iadd
istore 9
20: iload 8
iload 6
iadd
istore 8
21: iinc 10 1
StackMap locals:
StackMap stack:
22: iload 10
aload 0
getfield com.sun.media.sound.SoftAudioBuffer.size:I
if_icmplt 18
end local 10 end local 9 end local 8 23: iinc 7 1
StackMap locals:
StackMap stack:
24: iload 7
iload 3
if_icmplt 14
end local 7 end local 6 end local 5 25: 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 26 0 this Lcom/sun/media/sound/SoftAudioBuffer;
0 26 1 buffer [B
0 26 2 channel I
1 26 3 framesize_pc I
2 26 4 c_len I
11 25 5 z_stepover I
12 25 6 k_stepover I
13 25 7 j I
15 23 8 k I
16 23 9 z I
17 23 10 i I
MethodParameters:
Name Flags
buffer
channel
}
SourceFile: "SoftAudioBuffer.java"