public final class com.sun.media.sound.WaveFloatFileReader extends com.sun.media.sound.SunFileReader
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.WaveFloatFileReader
super_class: com.sun.media.sound.SunFileReader
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.media.sound.SunFileReader.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/WaveFloatFileReader;
com.sun.media.sound.StandardFileFormat getAudioFileFormatImpl(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Lcom/sun/media/sound/StandardFileFormat;
flags: (0x0000)
Code:
stack=9, locals=14, args_size=2
start local 0 start local 1 0: new com.sun.media.sound.RIFFReader
dup
aload 1
invokespecial com.sun.media.sound.RIFFReader.<init>:(Ljava/io/InputStream;)V
astore 2
start local 2 1: aload 2
invokevirtual com.sun.media.sound.RIFFReader.getFormat:()Ljava/lang/String;
ldc "RIFF"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
2: new javax.sound.sampled.UnsupportedAudioFileException
dup
invokespecial javax.sound.sampled.UnsupportedAudioFileException.<init>:()V
athrow
3: StackMap locals: com.sun.media.sound.RIFFReader
StackMap stack:
aload 2
invokevirtual com.sun.media.sound.RIFFReader.getType:()Ljava/lang/String;
ldc "WAVE"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
4: new javax.sound.sampled.UnsupportedAudioFileException
dup
invokespecial javax.sound.sampled.UnsupportedAudioFileException.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 6: iconst_0
istore 4
start local 4 7: iconst_1
istore 5
start local 5 8: lconst_1
lstore 6
start local 6 9: iconst_1
istore 8
start local 8 10: iconst_1
istore 9
start local 9 11: lconst_0
lstore 10
start local 10 12: goto 28
13: StackMap locals: com.sun.media.sound.WaveFloatFileReader java.io.InputStream com.sun.media.sound.RIFFReader int int int long int int long
StackMap stack:
aload 2
invokevirtual com.sun.media.sound.RIFFReader.nextChunk:()Lcom/sun/media/sound/RIFFReader;
astore 12
start local 12 14: aload 12
invokevirtual com.sun.media.sound.RIFFReader.getFormat:()Ljava/lang/String;
ldc "fmt "
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
15: iconst_1
istore 3
16: aload 12
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 13
start local 13 17: iload 13
iconst_3
if_icmpeq 19
18: new javax.sound.sampled.UnsupportedAudioFileException
dup
invokespecial javax.sound.sampled.UnsupportedAudioFileException.<init>:()V
athrow
19: StackMap locals: com.sun.media.sound.RIFFReader int
StackMap stack:
aload 12
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 5
20: aload 12
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedInt:()J
lstore 6
21: aload 12
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedInt:()J
pop2
22: aload 12
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 8
23: aload 12
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 9
end local 13 24: StackMap locals:
StackMap stack:
aload 12
invokevirtual com.sun.media.sound.RIFFReader.getFormat:()Ljava/lang/String;
ldc "data"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
25: aload 12
invokevirtual com.sun.media.sound.RIFFReader.getSize:()J
lstore 10
26: iconst_1
istore 4
27: goto 29
end local 12 28: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.media.sound.RIFFReader.hasNextChunk:()Z
ifne 13
29: StackMap locals:
StackMap stack:
iload 3
ifeq 30
iload 4
ifne 31
30: StackMap locals:
StackMap stack:
new javax.sound.sampled.UnsupportedAudioFileException
dup
invokespecial javax.sound.sampled.UnsupportedAudioFileException.<init>:()V
athrow
31: StackMap locals:
StackMap stack:
new javax.sound.sampled.AudioFormat
dup
32: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_FLOAT:Ljavax/sound/sampled/AudioFormat$Encoding;
lload 6
l2f
iload 9
iload 5
33: iload 8
lload 6
l2f
iconst_0
34: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
astore 12
start local 12 35: new com.sun.media.sound.StandardFileFormat
dup
getstatic javax.sound.sampled.AudioFileFormat$Type.WAVE:Ljavax/sound/sampled/AudioFileFormat$Type;
aload 12
36: lload 10
aload 12
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
i2l
ldiv
37: invokespecial com.sun.media.sound.StandardFileFormat.<init>:(Ljavax/sound/sampled/AudioFileFormat$Type;Ljavax/sound/sampled/AudioFormat;J)V
areturn
end local 12 end local 10 end local 9 end local 8 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 38 0 this Lcom/sun/media/sound/WaveFloatFileReader;
0 38 1 stream Ljava/io/InputStream;
1 38 2 riffiterator Lcom/sun/media/sound/RIFFReader;
6 38 3 fmt_found Z
7 38 4 data_found Z
8 38 5 channels I
9 38 6 samplerate J
10 38 8 framesize I
11 38 9 bits I
12 38 10 dataSize J
14 28 12 chunk Lcom/sun/media/sound/RIFFReader;
17 24 13 format I
35 38 12 audioformat Ljavax/sound/sampled/AudioFormat;
Exceptions:
throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
MethodParameters:
Name Flags
stream final
public javax.sound.sampled.AudioInputStream getAudioInputStream(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljavax/sound/sampled/AudioInputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.media.sound.WaveFloatFileReader.getAudioFileFormat:(Ljava/io/InputStream;)Lcom/sun/media/sound/StandardFileFormat;
astore 2
start local 2 1: aload 2
invokevirtual com.sun.media.sound.StandardFileFormat.getFormat:()Ljavax/sound/sampled/AudioFormat;
astore 3
start local 3 2: aload 2
invokevirtual com.sun.media.sound.StandardFileFormat.getLongFrameLength:()J
lstore 4
start local 4 3: new com.sun.media.sound.RIFFReader
dup
aload 1
invokespecial com.sun.media.sound.RIFFReader.<init>:(Ljava/io/InputStream;)V
astore 6
start local 6 4: goto 8
5: StackMap locals: com.sun.media.sound.WaveFloatFileReader java.io.InputStream com.sun.media.sound.StandardFileFormat javax.sound.sampled.AudioFormat long com.sun.media.sound.RIFFReader
StackMap stack:
aload 6
invokevirtual com.sun.media.sound.RIFFReader.nextChunk:()Lcom/sun/media/sound/RIFFReader;
astore 7
start local 7 6: aload 7
invokevirtual com.sun.media.sound.RIFFReader.getFormat:()Ljava/lang/String;
ldc "data"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: new javax.sound.sampled.AudioInputStream
dup
aload 7
aload 3
lload 4
invokespecial javax.sound.sampled.AudioInputStream.<init>:(Ljava/io/InputStream;Ljavax/sound/sampled/AudioFormat;J)V
areturn
end local 7 8: StackMap locals:
StackMap stack:
aload 6
invokevirtual com.sun.media.sound.RIFFReader.hasNextChunk:()Z
ifne 5
9: new javax.sound.sampled.UnsupportedAudioFileException
dup
invokespecial javax.sound.sampled.UnsupportedAudioFileException.<init>:()V
athrow
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/media/sound/WaveFloatFileReader;
0 10 1 stream Ljava/io/InputStream;
1 10 2 format Lcom/sun/media/sound/StandardFileFormat;
2 10 3 af Ljavax/sound/sampled/AudioFormat;
3 10 4 length J
4 10 6 riffiterator Lcom/sun/media/sound/RIFFReader;
6 8 7 chunk Lcom/sun/media/sound/RIFFReader;
Exceptions:
throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
MethodParameters:
Name Flags
stream final
}
SourceFile: "WaveFloatFileReader.java"
InnerClasses:
public Type = javax.sound.sampled.AudioFileFormat$Type of javax.sound.sampled.AudioFileFormat
public Encoding = javax.sound.sampled.AudioFormat$Encoding of javax.sound.sampled.AudioFormat