public final class com.sun.media.sound.AuFileWriter extends com.sun.media.sound.SunFileWriter
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.AuFileWriter
super_class: com.sun.media.sound.SunFileWriter
{
public static final int UNKNOWN_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -1
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
anewarray javax.sound.sampled.AudioFileFormat$Type
dup
iconst_0
getstatic javax.sound.sampled.AudioFileFormat$Type.AU:Ljavax/sound/sampled/AudioFileFormat$Type;
aastore
invokespecial com.sun.media.sound.SunFileWriter.<init>:([Ljavax/sound/sampled/AudioFileFormat$Type;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/AuFileWriter;
public javax.sound.sampled.AudioFileFormat$Type[] getAudioFileTypes(javax.sound.sampled.AudioInputStream);
descriptor: (Ljavax/sound/sampled/AudioInputStream;)[Ljavax/sound/sampled/AudioFileFormat$Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.AuFileWriter.types:[Ljavax/sound/sampled/AudioFileFormat$Type;
arraylength
anewarray javax.sound.sampled.AudioFileFormat$Type
astore 2
start local 2 1: aload 0
getfield com.sun.media.sound.AuFileWriter.types:[Ljavax/sound/sampled/AudioFileFormat$Type;
iconst_0
aload 2
iconst_0
aload 0
getfield com.sun.media.sound.AuFileWriter.types:[Ljavax/sound/sampled/AudioFileFormat$Type;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
astore 3
start local 3 3: aload 3
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
astore 4
start local 4 4: getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
aload 4
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifne 8
5: getstatic javax.sound.sampled.AudioFormat$Encoding.ULAW:Ljavax/sound/sampled/AudioFormat$Encoding;
aload 4
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifne 8
6: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aload 4
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifne 8
7: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aload 4
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 9
8: StackMap locals: javax.sound.sampled.AudioFileFormat$Type[] javax.sound.sampled.AudioFormat javax.sound.sampled.AudioFormat$Encoding
StackMap stack:
aload 2
areturn
9: StackMap locals:
StackMap stack:
iconst_0
anewarray javax.sound.sampled.AudioFileFormat$Type
areturn
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/AuFileWriter;
0 10 1 stream Ljavax/sound/sampled/AudioInputStream;
1 10 2 filetypes [Ljavax/sound/sampled/AudioFileFormat$Type;
3 10 3 format Ljavax/sound/sampled/AudioFormat;
4 10 4 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
MethodParameters:
Name Flags
stream
public int write(javax.sound.sampled.AudioInputStream, javax.sound.sampled.AudioFileFormat$Type, java.io.OutputStream);
descriptor: (Ljavax/sound/sampled/AudioInputStream;Ljavax/sound/sampled/AudioFileFormat$Type;Ljava/io/OutputStream;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 1
invokevirtual com.sun.media.sound.AuFileWriter.getAudioFileFormat:(Ljavax/sound/sampled/AudioFileFormat$Type;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioFileFormat;
checkcast com.sun.media.sound.AuFileFormat
astore 4
start local 4 1: aload 0
aload 1
aload 4
aload 3
invokevirtual com.sun.media.sound.AuFileWriter.writeAuFile:(Ljava/io/InputStream;Lcom/sun/media/sound/AuFileFormat;Ljava/io/OutputStream;)I
istore 5
start local 5 2: iload 5
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 3 0 this Lcom/sun/media/sound/AuFileWriter;
0 3 1 stream Ljavax/sound/sampled/AudioInputStream;
0 3 2 fileType Ljavax/sound/sampled/AudioFileFormat$Type;
0 3 3 out Ljava/io/OutputStream;
1 3 4 auFileFormat Lcom/sun/media/sound/AuFileFormat;
2 3 5 bytesWritten I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stream
fileType
out
public int write(javax.sound.sampled.AudioInputStream, javax.sound.sampled.AudioFileFormat$Type, java.io.File);
descriptor: (Ljavax/sound/sampled/AudioInputStream;Ljavax/sound/sampled/AudioFileFormat$Type;Ljava/io/File;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
aload 1
invokevirtual com.sun.media.sound.AuFileWriter.getAudioFileFormat:(Ljavax/sound/sampled/AudioFileFormat$Type;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioFileFormat;
checkcast com.sun.media.sound.AuFileFormat
astore 4
start local 4 1: new java.io.FileOutputStream
dup
aload 3
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
astore 5
start local 5 2: new java.io.BufferedOutputStream
dup
aload 5
sipush 4096
invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;I)V
astore 6
start local 6 3: aload 0
aload 1
aload 4
aload 6
invokevirtual com.sun.media.sound.AuFileWriter.writeAuFile:(Ljava/io/InputStream;Lcom/sun/media/sound/AuFileFormat;Ljava/io/OutputStream;)I
istore 7
start local 7 4: aload 6
invokevirtual java.io.BufferedOutputStream.close:()V
5: aload 4
invokevirtual com.sun.media.sound.AuFileFormat.getByteLength:()I
iconst_m1
if_icmpne 11
6: new java.io.RandomAccessFile
dup
aload 3
ldc "rw"
invokespecial java.io.RandomAccessFile.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 8
start local 8 7: aload 8
invokevirtual java.io.RandomAccessFile.length:()J
ldc 2147483647
lcmp
ifgt 10
8: aload 8
bipush 8
invokevirtual java.io.RandomAccessFile.skipBytes:(I)I
pop
9: aload 8
iload 7
bipush 24
isub
invokevirtual java.io.RandomAccessFile.writeInt:(I)V
10: StackMap locals: com.sun.media.sound.AuFileWriter javax.sound.sampled.AudioInputStream javax.sound.sampled.AudioFileFormat$Type java.io.File com.sun.media.sound.AuFileFormat java.io.FileOutputStream java.io.BufferedOutputStream int java.io.RandomAccessFile
StackMap stack:
aload 8
invokevirtual java.io.RandomAccessFile.close:()V
end local 8 11: StackMap locals:
StackMap stack:
iload 7
ireturn
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 12 0 this Lcom/sun/media/sound/AuFileWriter;
0 12 1 stream Ljavax/sound/sampled/AudioInputStream;
0 12 2 fileType Ljavax/sound/sampled/AudioFileFormat$Type;
0 12 3 out Ljava/io/File;
1 12 4 auFileFormat Lcom/sun/media/sound/AuFileFormat;
2 12 5 fos Ljava/io/FileOutputStream;
3 12 6 bos Ljava/io/BufferedOutputStream;
4 12 7 bytesWritten I
7 11 8 raf Ljava/io/RandomAccessFile;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stream
fileType
out
private javax.sound.sampled.AudioFileFormat getAudioFileFormat(javax.sound.sampled.AudioFileFormat$Type, javax.sound.sampled.AudioInputStream);
descriptor: (Ljavax/sound/sampled/AudioFileFormat$Type;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioFileFormat;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 5
start local 5 3: aload 2
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
astore 6
start local 6 4: aload 6
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
astore 7
start local 7 5: aload 0
getfield com.sun.media.sound.AuFileWriter.types:[Ljavax/sound/sampled/AudioFileFormat$Type;
iconst_0
aaload
aload 1
invokevirtual javax.sound.sampled.AudioFileFormat$Type.equals:(Ljava/lang/Object;)Z
ifne 7
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "File type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " not supported."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: com.sun.media.sound.AuFileWriter javax.sound.sampled.AudioFileFormat$Type javax.sound.sampled.AudioInputStream javax.sound.sampled.AudioFormat com.sun.media.sound.AuFileFormat javax.sound.sampled.AudioFormat$Encoding javax.sound.sampled.AudioFormat javax.sound.sampled.AudioFormat$Encoding
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
aload 7
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifne 9
8: getstatic javax.sound.sampled.AudioFormat$Encoding.ULAW:Ljavax/sound/sampled/AudioFormat$Encoding;
aload 7
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 12
9: StackMap locals:
StackMap stack:
aload 7
astore 5
10: aload 6
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
istore 8
start local 8 11: goto 18
end local 8 StackMap locals:
StackMap stack:
12: aload 6
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
bipush 8
if_icmpne 16
13: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 5
14: bipush 8
istore 8
start local 8 15: goto 18
end local 8 16: StackMap locals:
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
astore 5
17: aload 6
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
istore 8
start local 8 18: StackMap locals: int
StackMap stack:
new javax.sound.sampled.AudioFormat
dup
aload 5
19: aload 6
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
20: iload 8
21: aload 6
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
22: aload 6
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
23: aload 6
invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
24: iconst_1
25: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
astore 3
26: aload 2
invokevirtual javax.sound.sampled.AudioInputStream.getFrameLength:()J
ldc -1
lcmp
ifeq 29
27: aload 2
invokevirtual javax.sound.sampled.AudioInputStream.getFrameLength:()J
l2i
aload 6
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
imul
bipush 24
iadd
istore 9
start local 9 28: goto 30
end local 9 29: StackMap locals:
StackMap stack:
iconst_m1
istore 9
start local 9 30: StackMap locals: int
StackMap stack:
new com.sun.media.sound.AuFileFormat
dup
getstatic javax.sound.sampled.AudioFileFormat$Type.AU:Ljavax/sound/sampled/AudioFileFormat$Type;
31: iload 9
32: aload 3
33: aload 2
invokevirtual javax.sound.sampled.AudioInputStream.getFrameLength:()J
l2i
34: invokespecial com.sun.media.sound.AuFileFormat.<init>:(Ljavax/sound/sampled/AudioFileFormat$Type;ILjavax/sound/sampled/AudioFormat;I)V
astore 4
35: aload 4
areturn
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 36 0 this Lcom/sun/media/sound/AuFileWriter;
0 36 1 type Ljavax/sound/sampled/AudioFileFormat$Type;
0 36 2 stream Ljavax/sound/sampled/AudioInputStream;
1 36 3 format Ljavax/sound/sampled/AudioFormat;
2 36 4 fileFormat Lcom/sun/media/sound/AuFileFormat;
3 36 5 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
4 36 6 streamFormat Ljavax/sound/sampled/AudioFormat;
5 36 7 streamEncoding Ljavax/sound/sampled/AudioFormat$Encoding;
11 12 8 sampleSizeInBits I
15 16 8 sampleSizeInBits I
18 36 8 sampleSizeInBits I
28 29 9 fileSize I
30 36 9 fileSize I
MethodParameters:
Name Flags
type
stream
private java.io.InputStream getFileStream(com.sun.media.sound.AuFileFormat, java.io.InputStream);
descriptor: (Lcom/sun/media/sound/AuFileFormat;Ljava/io/InputStream;)Ljava/io/InputStream;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=21, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.sun.media.sound.AuFileFormat.getFormat:()Ljavax/sound/sampled/AudioFormat;
astore 3
start local 3 1: bipush 24
istore 4
start local 4 2: aload 1
invokevirtual com.sun.media.sound.AuFileFormat.getFrameLength:()I
i2l
lstore 5
start local 5 3: lload 5
ldc -1
lcmp
ifne 4
ldc -1
goto 5
StackMap locals: javax.sound.sampled.AudioFormat int long
StackMap stack:
4: lload 5
aload 3
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
i2l
lmul
StackMap locals:
StackMap stack: long
5: lstore 7
start local 7 6: lload 7
ldc 2147483647
lcmp
ifle 8
7: ldc -1
lstore 7
8: StackMap locals: long
StackMap stack:
aload 1
invokevirtual com.sun.media.sound.AuFileFormat.getAuType:()I
istore 9
start local 9 9: aload 3
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
f2i
istore 10
start local 10 10: aload 3
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
istore 11
start local 11 11: iconst_1
istore 12
start local 12 12: aconst_null
astore 13
start local 13 13: aconst_null
astore 14
start local 14 14: aconst_null
astore 15
start local 15 15: aconst_null
astore 16
start local 16 16: aconst_null
astore 17
start local 17 17: aconst_null
astore 18
start local 18 18: aconst_null
astore 19
start local 19 19: aload 2
astore 20
start local 20 20: aload 2
astore 20
21: aload 2
instanceof javax.sound.sampled.AudioInputStream
ifeq 38
22: aload 2
checkcast javax.sound.sampled.AudioInputStream
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
astore 18
23: aload 18
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
astore 19
24: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aload 19
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifne 27
25: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aload 19
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 38
26: iload 12
aload 18
invokevirtual javax.sound.sampled.AudioFormat.isBigEndian:()Z
if_icmpeq 38
27: StackMap locals: com.sun.media.sound.AuFileWriter com.sun.media.sound.AuFileFormat java.io.InputStream javax.sound.sampled.AudioFormat int long long int int int int byte[] java.io.ByteArrayInputStream java.io.ByteArrayOutputStream java.io.DataOutputStream java.io.SequenceInputStream javax.sound.sampled.AudioFormat javax.sound.sampled.AudioFormat$Encoding java.io.InputStream
StackMap stack:
new javax.sound.sampled.AudioFormat
dup
28: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
29: aload 18
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
30: aload 18
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
31: aload 18
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
32: aload 18
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
33: aload 18
invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
34: iload 12
35: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
36: aload 2
checkcast javax.sound.sampled.AudioInputStream
37: invokestatic javax.sound.sampled.AudioSystem.getAudioInputStream:(Ljavax/sound/sampled/AudioFormat;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioInputStream;
astore 20
38: StackMap locals:
StackMap stack:
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 15
39: new java.io.DataOutputStream
dup
aload 15
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 16
40: iload 12
ifeq 48
41: aload 16
ldc 779316836
invokevirtual java.io.DataOutputStream.writeInt:(I)V
42: aload 16
iload 4
invokevirtual java.io.DataOutputStream.writeInt:(I)V
43: aload 16
lload 7
l2i
invokevirtual java.io.DataOutputStream.writeInt:(I)V
44: aload 16
iload 9
invokevirtual java.io.DataOutputStream.writeInt:(I)V
45: aload 16
iload 10
invokevirtual java.io.DataOutputStream.writeInt:(I)V
46: aload 16
iload 11
invokevirtual java.io.DataOutputStream.writeInt:(I)V
47: goto 54
48: StackMap locals:
StackMap stack:
aload 16
ldc 1684960046
invokevirtual java.io.DataOutputStream.writeInt:(I)V
49: aload 16
aload 0
iload 4
invokevirtual com.sun.media.sound.AuFileWriter.big2little:(I)I
invokevirtual java.io.DataOutputStream.writeInt:(I)V
50: aload 16
aload 0
lload 7
l2i
invokevirtual com.sun.media.sound.AuFileWriter.big2little:(I)I
invokevirtual java.io.DataOutputStream.writeInt:(I)V
51: aload 16
aload 0
iload 9
invokevirtual com.sun.media.sound.AuFileWriter.big2little:(I)I
invokevirtual java.io.DataOutputStream.writeInt:(I)V
52: aload 16
aload 0
iload 10
invokevirtual com.sun.media.sound.AuFileWriter.big2little:(I)I
invokevirtual java.io.DataOutputStream.writeInt:(I)V
53: aload 16
aload 0
iload 11
invokevirtual com.sun.media.sound.AuFileWriter.big2little:(I)I
invokevirtual java.io.DataOutputStream.writeInt:(I)V
54: StackMap locals:
StackMap stack:
aload 16
invokevirtual java.io.DataOutputStream.close:()V
55: aload 15
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 13
56: new java.io.ByteArrayInputStream
dup
aload 13
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 14
57: new java.io.SequenceInputStream
dup
aload 14
aload 20
invokespecial java.io.SequenceInputStream.<init>:(Ljava/io/InputStream;Ljava/io/InputStream;)V
astore 17
58: aload 17
areturn
end local 20 end local 19 end local 18 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 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 59 0 this Lcom/sun/media/sound/AuFileWriter;
0 59 1 auFileFormat Lcom/sun/media/sound/AuFileFormat;
0 59 2 audioStream Ljava/io/InputStream;
1 59 3 format Ljavax/sound/sampled/AudioFormat;
2 59 4 headerSize I
3 59 5 dataSize J
6 59 7 dataSizeInBytes J
9 59 9 encoding_local I
10 59 10 sampleRate I
11 59 11 channels I
12 59 12 bigendian Z
13 59 13 header [B
14 59 14 headerStream Ljava/io/ByteArrayInputStream;
15 59 15 baos Ljava/io/ByteArrayOutputStream;
16 59 16 dos Ljava/io/DataOutputStream;
17 59 17 auStream Ljava/io/SequenceInputStream;
18 59 18 audioStreamFormat Ljavax/sound/sampled/AudioFormat;
19 59 19 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
20 59 20 codedAudioStream Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
auFileFormat
audioStream
private int writeAuFile(java.io.InputStream, com.sun.media.sound.AuFileFormat, java.io.OutputStream);
descriptor: (Ljava/io/InputStream;Lcom/sun/media/sound/AuFileFormat;Ljava/io/OutputStream;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: iconst_0
istore 5
start local 5 2: aload 0
aload 2
aload 1
invokevirtual com.sun.media.sound.AuFileWriter.getFileStream:(Lcom/sun/media/sound/AuFileFormat;Ljava/io/InputStream;)Ljava/io/InputStream;
astore 6
start local 6 3: sipush 4096
newarray 8
astore 7
start local 7 4: aload 2
invokevirtual com.sun.media.sound.AuFileFormat.getByteLength:()I
istore 8
start local 8 5: goto 18
6: StackMap locals: com.sun.media.sound.AuFileWriter java.io.InputStream com.sun.media.sound.AuFileFormat java.io.OutputStream int int java.io.InputStream byte[] int
StackMap stack:
iload 8
ifle 16
7: iload 4
iload 8
if_icmpge 12
8: aload 3
aload 7
iconst_0
iload 4
invokevirtual java.io.OutputStream.write:([BII)V
9: iload 5
iload 4
iadd
istore 5
10: iload 8
iload 4
isub
istore 8
11: goto 18
12: StackMap locals:
StackMap stack:
aload 3
aload 7
iconst_0
iload 8
invokevirtual java.io.OutputStream.write:([BII)V
13: iload 5
iload 8
iadd
istore 5
14: iconst_0
istore 8
15: goto 19
16: StackMap locals:
StackMap stack:
aload 3
aload 7
iconst_0
iload 4
invokevirtual java.io.OutputStream.write:([BII)V
17: iload 5
iload 4
iadd
istore 5
18: StackMap locals:
StackMap stack:
aload 6
aload 7
invokevirtual java.io.InputStream.read:([B)I
dup
istore 4
ifge 6
19: StackMap locals:
StackMap stack:
iload 5
ireturn
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 20 0 this Lcom/sun/media/sound/AuFileWriter;
0 20 1 in Ljava/io/InputStream;
0 20 2 auFileFormat Lcom/sun/media/sound/AuFileFormat;
0 20 3 out Ljava/io/OutputStream;
1 20 4 bytesRead I
2 20 5 bytesWritten I
3 20 6 fileStream Ljava/io/InputStream;
4 20 7 buffer [B
5 20 8 maxLength I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
auFileFormat
out
}
SourceFile: "AuFileWriter.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