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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/AuFileReader;
com.sun.media.sound.StandardFileFormat getAudioFileFormatImpl(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Lcom/sun/media/sound/StandardFileFormat;
flags: (0x0000)
Code:
stack=9, locals=18, args_size=2
start local 0 start local 1 0: new java.io.DataInputStream
dup
aload 1
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
astore 2
start local 2 1: aload 2
invokevirtual java.io.DataInputStream.readInt:()I
istore 3
start local 3 2: iload 3
ldc 779316836
if_icmpeq 4
3: new javax.sound.sampled.UnsupportedAudioFileException
dup
ldc "not an AU file"
invokespecial javax.sound.sampled.UnsupportedAudioFileException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.io.DataInputStream int
StackMap stack:
aload 2
invokevirtual java.io.DataInputStream.readInt:()I
istore 4
start local 4 5: iload 4
bipush 24
if_icmpge 7
6: new javax.sound.sampled.UnsupportedAudioFileException
dup
ldc "Invalid header size"
invokespecial javax.sound.sampled.UnsupportedAudioFileException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: int
StackMap stack:
aload 2
invokevirtual java.io.DataInputStream.readInt:()I
i2l
ldc 4294967295
land
lstore 5
start local 5 8: aload 2
invokevirtual java.io.DataInputStream.readInt:()I
istore 7
start local 7 9: aload 2
invokevirtual java.io.DataInputStream.readInt:()I
istore 8
start local 8 10: iload 8
ifgt 12
11: new javax.sound.sampled.UnsupportedAudioFileException
dup
ldc "Invalid sample rate"
invokespecial javax.sound.sampled.UnsupportedAudioFileException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: long int int
StackMap stack:
aload 2
invokevirtual java.io.DataInputStream.readInt:()I
istore 9
start local 9 13: iload 9
ifgt 15
14: new javax.sound.sampled.UnsupportedAudioFileException
dup
ldc "Invalid number of channels"
invokespecial javax.sound.sampled.UnsupportedAudioFileException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: int
StackMap stack:
iload 7
lookupswitch { // 7
1: 16
2: 22
3: 25
4: 28
5: 31
6: 34
27: 19
default: 37
}
16: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.ULAW:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 11
start local 11 17: bipush 8
istore 10
start local 10 18: goto 38
end local 11 end local 10 19: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 11
start local 11 20: bipush 8
istore 10
start local 10 21: goto 38
end local 11 end local 10 22: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 11
start local 11 23: bipush 8
istore 10
start local 10 24: goto 38
end local 11 end local 10 25: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 11
start local 11 26: bipush 16
istore 10
start local 10 27: goto 38
end local 11 end local 10 28: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 11
start local 11 29: bipush 24
istore 10
start local 10 30: goto 38
end local 11 end local 10 31: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 11
start local 11 32: bipush 32
istore 10
start local 10 33: goto 38
end local 11 end local 10 34: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_FLOAT:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 11
start local 11 35: bipush 32
istore 10
start local 10 36: goto 38
end local 11 end local 10 37: StackMap locals:
StackMap stack:
new javax.sound.sampled.UnsupportedAudioFileException
dup
ldc "not a valid AU file"
invokespecial javax.sound.sampled.UnsupportedAudioFileException.<init>:(Ljava/lang/String;)V
athrow
start local 10 start local 11 38: StackMap locals: int javax.sound.sampled.AudioFormat$Encoding
StackMap stack:
aload 2
iload 4
bipush 24
isub
invokevirtual java.io.DataInputStream.skipBytes:(I)I
pop
39: iload 10
iload 9
invokestatic com.sun.media.sound.AuFileReader.calculatePCMFrameSize:(II)I
istore 12
start local 12 40: iload 12
ifgt 42
41: new javax.sound.sampled.UnsupportedAudioFileException
dup
ldc "Invalid frame size"
invokespecial javax.sound.sampled.UnsupportedAudioFileException.<init>:(Ljava/lang/String;)V
athrow
42: StackMap locals: int
StackMap stack:
ldc -1
lstore 13
start local 13 43: ldc -1
lstore 15
start local 15 44: lload 5
ldc 4294967295
lcmp
ifeq 47
45: lload 5
iload 12
i2l
ldiv
lstore 13
46: lload 5
iload 4
i2l
ladd
lstore 15
47: StackMap locals: long long
StackMap stack:
new javax.sound.sampled.AudioFormat
dup
aload 11
iload 8
i2f
48: iload 10
iload 9
49: iload 12
iload 8
i2f
iconst_1
50: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
astore 17
start local 17 51: new com.sun.media.sound.AuFileFormat
dup
getstatic javax.sound.sampled.AudioFileFormat$Type.AU:Ljavax/sound/sampled/AudioFileFormat$Type;
lload 15
aload 17
lload 13
invokespecial com.sun.media.sound.AuFileFormat.<init>:(Ljavax/sound/sampled/AudioFileFormat$Type;JLjavax/sound/sampled/AudioFormat;J)V
areturn
end local 17 end local 15 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 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 52 0 this Lcom/sun/media/sound/AuFileReader;
0 52 1 stream Ljava/io/InputStream;
1 52 2 dis Ljava/io/DataInputStream;
2 52 3 magic I
5 52 4 headerSize I
8 52 5 dataSize J
9 52 7 auType I
10 52 8 sampleRate I
13 52 9 channels I
18 19 10 sampleSizeInBits I
21 22 10 sampleSizeInBits I
24 25 10 sampleSizeInBits I
27 28 10 sampleSizeInBits I
30 31 10 sampleSizeInBits I
33 34 10 sampleSizeInBits I
36 37 10 sampleSizeInBits I
38 52 10 sampleSizeInBits I
17 19 11 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
20 22 11 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
23 25 11 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
26 28 11 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
29 31 11 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
32 34 11 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
35 37 11 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
38 52 11 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
40 52 12 frameSize I
43 52 13 frameLength J
44 52 15 byteLength J
51 52 17 format 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: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.sun.media.sound.SunFileReader.getAudioInputStream:(Ljava/io/InputStream;)Ljavax/sound/sampled/AudioInputStream;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws javax.sound.sampled.UnsupportedAudioFileException, java.io.IOException
}
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