public final class com.sun.media.sound.AuFileReader 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.AuFileReader
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
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/AuFileReader;
public javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Ljavax/sound/sampled/AudioFileFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=18, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: bipush 28
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: iconst_m1
istore 6
start local 6 5: iconst_m1
istore 7
start local 7 6: iconst_m1
istore 8
start local 8 7: iconst_m1
istore 9
start local 9 8: iconst_m1
istore 10
start local 10 9: iconst_m1
istore 11
start local 11 10: iconst_m1
istore 12
start local 12 11: iconst_m1
istore 13
start local 13 12: iconst_0
istore 14
start local 14 13: iconst_0
istore 15
start local 15 14: aconst_null
astore 16
start local 16 15: new java.io.DataInputStream
dup
aload 1
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
astore 17
start local 17 16: aload 17
iload 4
invokevirtual java.io.DataInputStream.mark:(I)V
17: aload 17
invokevirtual java.io.DataInputStream.readInt:()I
istore 6
18: iload 6
ldc 779316836
if_icmpne 20
iload 6
ldc 779314176
if_icmpeq 20
19: iload 6
ldc 1684960046
if_icmpeq 20
iload 6
ldc 6583086
if_icmpne 22
20: StackMap locals: com.sun.media.sound.AuFileReader java.io.InputStream javax.sound.sampled.AudioFormat com.sun.media.sound.AuFileFormat int int int int int int int int int int int int javax.sound.sampled.AudioFormat$Encoding java.io.DataInputStream
StackMap stack:
aload 17
invokevirtual java.io.DataInputStream.reset:()V
21: new javax.sound.sampled.UnsupportedAudioFileException
dup
ldc "not an AU file"
invokespecial javax.sound.sampled.UnsupportedAudioFileException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
iload 6
ldc 779316836
if_icmpeq 23
iload 6
ldc 779314176
if_icmpne 24
23: StackMap locals:
StackMap stack:
iconst_1
istore 5
24: StackMap locals:
StackMap stack:
iload 5
ifeq 25
aload 17
invokevirtual java.io.DataInputStream.readInt:()I
goto 26
StackMap locals:
StackMap stack:
25: aload 0
aload 17
invokevirtual com.sun.media.sound.AuFileReader.rllong:(Ljava/io/DataInputStream;)I
StackMap locals:
StackMap stack: int
26: istore 7
27: iload 5
ifeq 28
aload 17
invokevirtual java.io.DataInputStream.readInt:()I
goto 29
StackMap locals:
StackMap stack:
28: aload 0
aload 17
invokevirtual com.sun.media.sound.AuFileReader.rllong:(Ljava/io/DataInputStream;)I
StackMap locals:
StackMap stack: int
29: istore 8
30: iload 5
ifeq 31
aload 17
invokevirtual java.io.DataInputStream.readInt:()I
goto 32
StackMap locals:
StackMap stack:
31: aload 0
aload 17
invokevirtual com.sun.media.sound.AuFileReader.rllong:(Ljava/io/DataInputStream;)I
StackMap locals:
StackMap stack: int
32: istore 9
33: iload 5
ifeq 34
aload 17
invokevirtual java.io.DataInputStream.readInt:()I
goto 35
StackMap locals:
StackMap stack:
34: aload 0
aload 17
invokevirtual com.sun.media.sound.AuFileReader.rllong:(Ljava/io/DataInputStream;)I
StackMap locals:
StackMap stack: int
35: istore 10
36: iload 5
ifeq 37
aload 17
invokevirtual java.io.DataInputStream.readInt:()I
goto 38
StackMap locals:
StackMap stack:
37: aload 0
aload 17
invokevirtual com.sun.media.sound.AuFileReader.rllong:(Ljava/io/DataInputStream;)I
StackMap locals:
StackMap stack: int
38: istore 13
39: iload 10
istore 11
40: iload 9
lookupswitch { // 6
1: 41
2: 47
3: 50
4: 53
5: 56
27: 44
default: 59
}
41: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.ULAW:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 16
42: bipush 8
istore 14
43: goto 61
44: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 16
45: bipush 8
istore 14
46: goto 61
47: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 16
48: bipush 8
istore 14
49: goto 61
50: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 16
51: bipush 16
istore 14
52: goto 61
53: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 16
54: bipush 24
istore 14
55: goto 61
56: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 16
57: bipush 32
istore 14
58: goto 61
59: StackMap locals:
StackMap stack:
aload 17
invokevirtual java.io.DataInputStream.reset:()V
60: new javax.sound.sampled.UnsupportedAudioFileException
dup
ldc "not a valid AU file"
invokespecial javax.sound.sampled.UnsupportedAudioFileException.<init>:(Ljava/lang/String;)V
athrow
61: StackMap locals:
StackMap stack:
iload 14
iload 13
invokestatic com.sun.media.sound.AuFileReader.calculatePCMFrameSize:(II)I
istore 12
62: iload 8
ifge 65
63: iconst_m1
istore 15
64: goto 66
65: StackMap locals:
StackMap stack:
iload 8
iload 12
idiv
istore 15
66: StackMap locals:
StackMap stack:
new javax.sound.sampled.AudioFormat
dup
aload 16
iload 10
i2f
iload 14
67: iload 13
iload 12
iload 11
i2f
iload 5
68: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
astore 2
69: new com.sun.media.sound.AuFileFormat
dup
getstatic javax.sound.sampled.AudioFileFormat$Type.AU:Ljavax/sound/sampled/AudioFileFormat$Type;
iload 8
iload 7
iadd
70: aload 2
iload 15
71: invokespecial com.sun.media.sound.AuFileFormat.<init>:(Ljavax/sound/sampled/AudioFileFormat$Type;ILjavax/sound/sampled/AudioFormat;I)V
astore 3
72: aload 17
invokevirtual java.io.DataInputStream.reset:()V
73: aload 3
areturn
end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 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 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 74 0 this Lcom/sun/media/sound/AuFileReader;
0 74 1 stream Ljava/io/InputStream;
1 74 2 format Ljavax/sound/sampled/AudioFormat;
2 74 3 fileFormat Lcom/sun/media/sound/AuFileFormat;
3 74 4 maxReadLength I
4 74 5 bigendian Z
5 74 6 magic I
6 74 7 headerSize I
7 74 8 dataSize I
8 74 9 encoding_local I
9 74 10 sampleRate I
10 74 11 frameRate I
11 74 12 frameSize I
12 74 13 channels I
13 74 14 sampleSizeInBits I
14 74 15 length I
15 74 16 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
16 74 17 dis Ljava/io/DataInputStream;
Exceptions:
throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
MethodParameters:
Name Flags
stream
public javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.net.URL);
descriptor: (Ljava/net/URL;)Ljavax/sound/sampled/AudioFileFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aload 1
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 2
4: new java.io.BufferedInputStream
dup
aload 2
sipush 4096
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;I)V
astore 3
5: aload 0
aload 3
invokevirtual com.sun.media.sound.AuFileReader.getAudioFileFormat:(Ljava/io/InputStream;)Ljavax/sound/sampled/AudioFileFormat;
astore 4
6: goto 10
StackMap locals: com.sun.media.sound.AuFileReader java.net.URL java.io.InputStream java.io.BufferedInputStream javax.sound.sampled.AudioFileFormat
StackMap stack: java.lang.Throwable
7: astore 5
8: aload 2
invokevirtual java.io.InputStream.close:()V
9: aload 5
athrow
10: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.InputStream.close:()V
11: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/media/sound/AuFileReader;
0 12 1 url Ljava/net/URL;
1 12 2 urlStream Ljava/io/InputStream;
2 12 3 bis Ljava/io/BufferedInputStream;
3 12 4 fileFormat Ljavax/sound/sampled/AudioFileFormat;
Exception table:
from to target type
4 7 7 any
Exceptions:
throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
MethodParameters:
Name Flags
url
public javax.sound.sampled.AudioFileFormat getAudioFileFormat(java.io.File);
descriptor: (Ljava/io/File;)Ljavax/sound/sampled/AudioFileFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: new java.io.FileInputStream
dup
aload 1
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 2
4: new java.io.BufferedInputStream
dup
aload 2
sipush 4096
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;I)V
astore 3
5: aload 0
aload 3
invokevirtual com.sun.media.sound.AuFileReader.getAudioFileFormat:(Ljava/io/InputStream;)Ljavax/sound/sampled/AudioFileFormat;
astore 4
6: goto 10
StackMap locals: com.sun.media.sound.AuFileReader java.io.File java.io.FileInputStream java.io.BufferedInputStream javax.sound.sampled.AudioFileFormat
StackMap stack: java.lang.Throwable
7: astore 5
8: aload 2
invokevirtual java.io.FileInputStream.close:()V
9: aload 5
athrow
10: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.FileInputStream.close:()V
11: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/media/sound/AuFileReader;
0 12 1 file Ljava/io/File;
1 12 2 fis Ljava/io/FileInputStream;
2 12 3 bis Ljava/io/BufferedInputStream;
3 12 4 fileFormat Ljavax/sound/sampled/AudioFileFormat;
Exception table:
from to target type
4 7 7 any
Exceptions:
throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
MethodParameters:
Name Flags
file
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=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 4
start local 4 2: aconst_null
astore 5
start local 5 3: aload 0
aload 1
invokevirtual com.sun.media.sound.AuFileReader.getAudioFileFormat:(Ljava/io/InputStream;)Ljavax/sound/sampled/AudioFileFormat;
astore 4
4: aload 4
invokevirtual javax.sound.sampled.AudioFileFormat.getFormat:()Ljavax/sound/sampled/AudioFormat;
astore 5
5: new java.io.DataInputStream
dup
aload 1
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
astore 2
6: aload 2
invokevirtual java.io.DataInputStream.readInt:()I
pop
7: aload 5
invokevirtual javax.sound.sampled.AudioFormat.isBigEndian:()Z
ifeq 8
aload 2
invokevirtual java.io.DataInputStream.readInt:()I
goto 9
StackMap locals: com.sun.media.sound.AuFileReader java.io.InputStream java.io.DataInputStream top javax.sound.sampled.AudioFileFormat javax.sound.sampled.AudioFormat
StackMap stack:
8: aload 0
aload 2
invokevirtual com.sun.media.sound.AuFileReader.rllong:(Ljava/io/DataInputStream;)I
StackMap locals:
StackMap stack: int
9: istore 3
start local 3 10: aload 2
iload 3
bipush 8
isub
invokevirtual java.io.DataInputStream.skipBytes:(I)I
pop
11: new javax.sound.sampled.AudioInputStream
dup
aload 2
aload 5
aload 4
invokevirtual javax.sound.sampled.AudioFileFormat.getFrameLength:()I
i2l
invokespecial javax.sound.sampled.AudioInputStream.<init>:(Ljava/io/InputStream;Ljavax/sound/sampled/AudioFormat;J)V
areturn
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 12 0 this Lcom/sun/media/sound/AuFileReader;
0 12 1 stream Ljava/io/InputStream;
1 12 2 dis Ljava/io/DataInputStream;
10 12 3 headerSize I
2 12 4 fileFormat Ljavax/sound/sampled/AudioFileFormat;
3 12 5 format Ljavax/sound/sampled/AudioFormat;
Exceptions:
throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
MethodParameters:
Name Flags
stream
public javax.sound.sampled.AudioInputStream getAudioInputStream(java.net.URL);
descriptor: (Ljava/net/URL;)Ljavax/sound/sampled/AudioInputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aload 1
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 2
3: aconst_null
astore 4
start local 4 4: new java.io.BufferedInputStream
dup
aload 2
sipush 4096
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;I)V
astore 3
5: aload 0
aload 3
invokevirtual com.sun.media.sound.AuFileReader.getAudioInputStream:(Ljava/io/InputStream;)Ljavax/sound/sampled/AudioInputStream;
astore 4
6: goto 11
StackMap locals: com.sun.media.sound.AuFileReader java.net.URL java.io.InputStream java.io.BufferedInputStream javax.sound.sampled.AudioInputStream
StackMap stack: java.lang.Throwable
7: astore 5
8: aload 4
ifnonnull 10
9: aload 2
invokevirtual java.io.InputStream.close:()V
10: StackMap locals: java.lang.Throwable
StackMap stack:
aload 5
athrow
11: StackMap locals:
StackMap stack:
aload 4
ifnonnull 13
12: aload 2
invokevirtual java.io.InputStream.close:()V
13: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/media/sound/AuFileReader;
0 14 1 url Ljava/net/URL;
1 14 2 urlStream Ljava/io/InputStream;
2 14 3 bis Ljava/io/BufferedInputStream;
4 14 4 result Ljavax/sound/sampled/AudioInputStream;
Exception table:
from to target type
4 7 7 any
Exceptions:
throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
MethodParameters:
Name Flags
url
public javax.sound.sampled.AudioInputStream getAudioInputStream(java.io.File);
descriptor: (Ljava/io/File;)Ljavax/sound/sampled/AudioInputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: new java.io.FileInputStream
dup
aload 1
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 2
3: aconst_null
astore 4
start local 4 4: new java.io.BufferedInputStream
dup
aload 2
sipush 4096
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;I)V
astore 3
5: aload 0
aload 3
invokevirtual com.sun.media.sound.AuFileReader.getAudioInputStream:(Ljava/io/InputStream;)Ljavax/sound/sampled/AudioInputStream;
astore 4
6: goto 11
StackMap locals: com.sun.media.sound.AuFileReader java.io.File java.io.FileInputStream java.io.BufferedInputStream javax.sound.sampled.AudioInputStream
StackMap stack: java.lang.Throwable
7: astore 5
8: aload 4
ifnonnull 10
9: aload 2
invokevirtual java.io.FileInputStream.close:()V
10: StackMap locals: java.lang.Throwable
StackMap stack:
aload 5
athrow
11: StackMap locals:
StackMap stack:
aload 4
ifnonnull 13
12: aload 2
invokevirtual java.io.FileInputStream.close:()V
13: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/media/sound/AuFileReader;
0 14 1 file Ljava/io/File;
1 14 2 fis Ljava/io/FileInputStream;
2 14 3 bis Ljava/io/BufferedInputStream;
4 14 4 result Ljavax/sound/sampled/AudioInputStream;
Exception table:
from to target type
4 7 7 any
Exceptions:
throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
MethodParameters:
Name Flags
file
}
SourceFile: "AuFileReader.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