class com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream extends com.sun.media.sound.AudioFloatInputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream
super_class: com.sun.media.sound.AudioFloatInputStream
{
private final javax.sound.sampled.AudioInputStream stream;
descriptor: Ljavax/sound/sampled/AudioInputStream;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private com.sun.media.sound.AudioFloatConverter converter;
descriptor: Lcom/sun/media/sound/AudioFloatConverter;
flags: (0x0002) ACC_PRIVATE
private final int framesize_pc;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private byte[] buffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
void <init>(javax.sound.sampled.AudioInputStream);
descriptor: (Ljavax/sound/sampled/AudioInputStream;)V
flags: (0x0000)
Code:
stack=9, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.sun.media.sound.AudioFloatInputStream.<init>:()V
1: aload 0
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;
putfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.converter:Lcom/sun/media/sound/AudioFloatConverter;
2: aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.converter:Lcom/sun/media/sound/AudioFloatConverter;
ifnonnull 23
3: aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
astore 2
start local 2 4: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aload 2
5: invokestatic javax.sound.sampled.AudioSystem.getTargetFormats:(Ljavax/sound/sampled/AudioFormat$Encoding;Ljavax/sound/sampled/AudioFormat;)[Ljavax/sound/sampled/AudioFormat;
astore 4
start local 4 6: aload 4
arraylength
ifeq 9
7: aload 4
iconst_0
aaload
astore 3
start local 3 8: goto 21
end local 3 9: StackMap locals: com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream javax.sound.sampled.AudioInputStream javax.sound.sampled.AudioFormat top javax.sound.sampled.AudioFormat[]
StackMap stack:
aload 2
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
fstore 5
start local 5 10: aload 2
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
istore 6
start local 6 11: aload 2
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
istore 7
start local 7 12: aload 2
invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
fstore 8
start local 8 13: bipush 16
istore 6
14: aload 2
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
iload 6
bipush 8
idiv
imul
istore 7
15: fload 5
fstore 8
16: new javax.sound.sampled.AudioFormat
dup
17: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
fload 5
18: iload 6
aload 2
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
iload 7
19: fload 8
iconst_0
20: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
astore 3
end local 8 end local 7 end local 6 end local 5 start local 3 21: StackMap locals: com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream javax.sound.sampled.AudioInputStream javax.sound.sampled.AudioFormat javax.sound.sampled.AudioFormat javax.sound.sampled.AudioFormat[]
StackMap stack:
aload 3
aload 1
invokestatic javax.sound.sampled.AudioSystem.getAudioInputStream:(Ljavax/sound/sampled/AudioFormat;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioInputStream;
astore 1
22: aload 0
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;
putfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.converter:Lcom/sun/media/sound/AudioFloatConverter;
end local 4 end local 3 end local 2 23: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
24: aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
idiv
25: putfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.framesize_pc:I
26: aload 0
aload 1
putfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.stream:Ljavax/sound/sampled/AudioInputStream;
27: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/sun/media/sound/AudioFloatInputStream$DirectAudioFloatInputStream;
0 28 1 stream Ljavax/sound/sampled/AudioInputStream;
4 23 2 format Ljavax/sound/sampled/AudioFormat;
8 9 3 newformat Ljavax/sound/sampled/AudioFormat;
21 23 3 newformat Ljavax/sound/sampled/AudioFormat;
6 23 4 formats [Ljavax/sound/sampled/AudioFormat;
10 21 5 samplerate F
11 21 6 samplesizeinbits I
12 21 7 framesize I
13 21 8 framerate F
MethodParameters:
Name Flags
stream
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.AudioFloatInputStream$DirectAudioFloatInputStream.stream:Ljavax/sound/sampled/AudioInputStream;
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/AudioFloatInputStream$DirectAudioFloatInputStream;
public long getFrameLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.stream:Ljavax/sound/sampled/AudioInputStream;
invokevirtual javax.sound.sampled.AudioInputStream.getFrameLength:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/AudioFloatInputStream$DirectAudioFloatInputStream;
public int read(float[], int, int);
descriptor: ([FII)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.framesize_pc:I
imul
istore 4
start local 4 1: aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.buffer:[B
ifnull 2
aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.buffer:[B
arraylength
iload 4
if_icmpge 3
2: StackMap locals: int
StackMap stack:
aload 0
iload 4
newarray 8
putfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.buffer:[B
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.stream:Ljavax/sound/sampled/AudioInputStream;
aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.buffer:[B
iconst_0
iload 4
invokevirtual javax.sound.sampled.AudioInputStream.read:([BII)I
istore 5
start local 5 4: iload 5
iconst_m1
if_icmpne 6
5: iconst_m1
ireturn
6: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.converter:Lcom/sun/media/sound/AudioFloatConverter;
aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.buffer:[B
aload 1
iload 2
iload 5
aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.framesize_pc:I
idiv
invokevirtual com.sun.media.sound.AudioFloatConverter.toFloatArray:([B[FII)[F
pop
7: iload 5
aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.framesize_pc:I
idiv
ireturn
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 8 0 this Lcom/sun/media/sound/AudioFloatInputStream$DirectAudioFloatInputStream;
0 8 1 b [F
0 8 2 off I
0 8 3 len I
1 8 4 b_len I
4 8 5 ret I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
off
len
public long skip(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.framesize_pc:I
i2l
lmul
lstore 3
start local 3 1: aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.stream:Ljavax/sound/sampled/AudioInputStream;
lload 3
invokevirtual javax.sound.sampled.AudioInputStream.skip:(J)J
lstore 5
start local 5 2: lload 5
ldc -1
lcmp
ifne 4
3: ldc -1
lreturn
4: StackMap locals: long long
StackMap stack:
lload 5
aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.framesize_pc:I
i2l
ldiv
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/AudioFloatInputStream$DirectAudioFloatInputStream;
0 5 1 len J
1 5 3 b_len J
2 5 5 ret J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
len
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.AudioFloatInputStream$DirectAudioFloatInputStream.stream:Ljavax/sound/sampled/AudioInputStream;
invokevirtual javax.sound.sampled.AudioInputStream.available:()I
aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.framesize_pc:I
idiv
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/AudioFloatInputStream$DirectAudioFloatInputStream;
Exceptions:
throws java.io.IOException
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.AudioFloatInputStream$DirectAudioFloatInputStream.stream:Ljavax/sound/sampled/AudioInputStream;
invokevirtual javax.sound.sampled.AudioInputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/AudioFloatInputStream$DirectAudioFloatInputStream;
Exceptions:
throws java.io.IOException
public void mark(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.stream:Ljavax/sound/sampled/AudioInputStream;
iload 1
aload 0
getfield com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream.framesize_pc:I
imul
invokevirtual javax.sound.sampled.AudioInputStream.mark:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/AudioFloatInputStream$DirectAudioFloatInputStream;
0 2 1 readlimit I
MethodParameters:
Name Flags
readlimit
public boolean markSupported();
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.AudioFloatInputStream$DirectAudioFloatInputStream.stream:Ljavax/sound/sampled/AudioInputStream;
invokevirtual javax.sound.sampled.AudioInputStream.markSupported:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/AudioFloatInputStream$DirectAudioFloatInputStream;
public void reset();
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.AudioFloatInputStream$DirectAudioFloatInputStream.stream:Ljavax/sound/sampled/AudioInputStream;
invokevirtual javax.sound.sampled.AudioInputStream.reset:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/AudioFloatInputStream$DirectAudioFloatInputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "AudioFloatInputStream.java"
NestHost: com.sun.media.sound.AudioFloatInputStream
InnerClasses:
private DirectAudioFloatInputStream = com.sun.media.sound.AudioFloatInputStream$DirectAudioFloatInputStream of com.sun.media.sound.AudioFloatInputStream
public Encoding = javax.sound.sampled.AudioFormat$Encoding of javax.sound.sampled.AudioFormat