public final class com.sun.media.sound.WaveFloatFileWriter extends javax.sound.sampled.spi.AudioFileWriter
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.WaveFloatFileWriter
super_class: javax.sound.sampled.spi.AudioFileWriter
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.sound.sampled.spi.AudioFileWriter.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/WaveFloatFileWriter;
public javax.sound.sampled.AudioFileFormat$Type[] getAudioFileTypes();
descriptor: ()[Ljavax/sound/sampled/AudioFileFormat$Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_1
anewarray javax.sound.sampled.AudioFileFormat$Type
dup
iconst_0
getstatic javax.sound.sampled.AudioFileFormat$Type.WAVE:Ljavax/sound/sampled/AudioFileFormat$Type;
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/WaveFloatFileWriter;
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=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_FLOAT:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifne 2
1: iconst_0
anewarray javax.sound.sampled.AudioFileFormat$Type
areturn
2: StackMap locals:
StackMap stack:
iconst_1
anewarray javax.sound.sampled.AudioFileFormat$Type
dup
iconst_0
getstatic javax.sound.sampled.AudioFileFormat$Type.WAVE:Ljavax/sound/sampled/AudioFileFormat$Type;
aastore
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/sound/WaveFloatFileWriter;
0 3 1 stream Ljavax/sound/sampled/AudioInputStream;
MethodParameters:
Name Flags
stream
private void checkFormat(javax.sound.sampled.AudioFileFormat$Type, javax.sound.sampled.AudioInputStream);
descriptor: (Ljavax/sound/sampled/AudioFileFormat$Type;Ljavax/sound/sampled/AudioInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic javax.sound.sampled.AudioFileFormat$Type.WAVE:Ljavax/sound/sampled/AudioFileFormat$Type;
aload 1
invokevirtual javax.sound.sampled.AudioFileFormat$Type.equals:(Ljava/lang/Object;)Z
ifne 4
1: 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;
2: ldc " not supported."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_FLOAT:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifne 8
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "File format "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 2
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
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;
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/media/sound/WaveFloatFileWriter;
0 9 1 type Ljavax/sound/sampled/AudioFileFormat$Type;
0 9 2 stream Ljavax/sound/sampled/AudioInputStream;
MethodParameters:
Name Flags
type
stream
public void write(javax.sound.sampled.AudioInputStream, com.sun.media.sound.RIFFWriter);
descriptor: (Ljavax/sound/sampled/AudioInputStream;Lcom/sun/media/sound/RIFFWriter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
aconst_null
astore 4
1: aload 2
ldc "fmt "
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 5
start local 5 2: aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
astore 6
start local 6 3: aload 5
iconst_3
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
4: aload 5
aload 6
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
5: aload 5
aload 6
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
f2i
i2l
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedInt:(J)V
6: aload 5
aload 6
invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
f2i
7: aload 6
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
imul
i2l
8: invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedInt:(J)V
9: aload 5
aload 6
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
10: aload 5
aload 6
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
end local 6 11: aload 5
ifnull 17
aload 5
invokevirtual com.sun.media.sound.RIFFWriter.close:()V
goto 17
StackMap locals: com.sun.media.sound.WaveFloatFileWriter javax.sound.sampled.AudioInputStream com.sun.media.sound.RIFFWriter java.lang.Throwable java.lang.Throwable com.sun.media.sound.RIFFWriter
StackMap stack: java.lang.Throwable
12: astore 3
aload 5
ifnull 13
aload 5
invokevirtual com.sun.media.sound.RIFFWriter.close:()V
end local 5 StackMap locals:
StackMap stack:
13: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 4
aload 3
ifnonnull 15
aload 4
astore 3
goto 16
StackMap locals:
StackMap stack:
15: aload 3
aload 4
if_acmpeq 16
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 3
athrow
17: StackMap locals:
StackMap stack:
aconst_null
astore 3
aconst_null
astore 4
18: aload 2
ldc "data"
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 5
start local 5 19: sipush 1024
newarray 8
astore 6
start local 6 20: goto 22
start local 7 21: StackMap locals: com.sun.media.sound.WaveFloatFileWriter javax.sound.sampled.AudioInputStream com.sun.media.sound.RIFFWriter java.lang.Throwable java.lang.Throwable com.sun.media.sound.RIFFWriter byte[] int
StackMap stack:
aload 5
aload 6
iconst_0
iload 7
invokevirtual com.sun.media.sound.RIFFWriter.write:([BII)V
end local 7 22: StackMap locals:
StackMap stack:
aload 1
aload 6
iconst_0
aload 6
arraylength
invokevirtual javax.sound.sampled.AudioInputStream.read:([BII)I
dup
istore 7
start local 7 23: iconst_m1
if_icmpne 21
end local 7 end local 6 24: aload 5
ifnull 30
aload 5
invokevirtual com.sun.media.sound.RIFFWriter.close:()V
goto 30
StackMap locals: com.sun.media.sound.WaveFloatFileWriter javax.sound.sampled.AudioInputStream com.sun.media.sound.RIFFWriter java.lang.Throwable java.lang.Throwable com.sun.media.sound.RIFFWriter
StackMap stack: java.lang.Throwable
25: astore 3
aload 5
ifnull 26
aload 5
invokevirtual com.sun.media.sound.RIFFWriter.close:()V
end local 5 StackMap locals:
StackMap stack:
26: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
27: astore 4
aload 3
ifnonnull 28
aload 4
astore 3
goto 29
StackMap locals:
StackMap stack:
28: aload 3
aload 4
if_acmpeq 29
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
29: aload 3
athrow
30: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lcom/sun/media/sound/WaveFloatFileWriter;
0 31 1 stream Ljavax/sound/sampled/AudioInputStream;
0 31 2 writer Lcom/sun/media/sound/RIFFWriter;
2 13 5 fmt_chunk Lcom/sun/media/sound/RIFFWriter;
3 11 6 format Ljavax/sound/sampled/AudioFormat;
19 26 5 data_chunk Lcom/sun/media/sound/RIFFWriter;
20 24 6 buff [B
21 22 7 len I
23 24 7 len I
Exception table:
from to target type
2 11 12 any
1 14 14 any
19 24 25 any
18 27 27 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stream
writer
private javax.sound.sampled.AudioInputStream toLittleEndian(javax.sound.sampled.AudioInputStream);
descriptor: (Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioInputStream;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
astore 2
start local 2 1: new javax.sound.sampled.AudioFormat
dup
aload 2
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
aload 2
2: invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
aload 2
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
aload 2
3: invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
aload 2
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
aload 2
invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
4: iconst_0
5: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
astore 3
start local 3 6: aload 3
aload 1
invokestatic javax.sound.sampled.AudioSystem.getAudioInputStream:(Ljavax/sound/sampled/AudioFormat;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioInputStream;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/media/sound/WaveFloatFileWriter;
0 7 1 ais Ljavax/sound/sampled/AudioInputStream;
1 7 2 format Ljavax/sound/sampled/AudioFormat;
6 7 3 targetFormat Ljavax/sound/sampled/AudioFormat;
MethodParameters:
Name Flags
ais
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=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
aload 2
aload 1
invokevirtual com.sun.media.sound.WaveFloatFileWriter.checkFormat:(Ljavax/sound/sampled/AudioFileFormat$Type;Ljavax/sound/sampled/AudioInputStream;)V
4: aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.isBigEndian:()Z
ifeq 6
5: aload 0
aload 1
invokevirtual com.sun.media.sound.WaveFloatFileWriter.toLittleEndian:(Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioInputStream;
astore 1
6: StackMap locals:
StackMap stack:
aconst_null
astore 4
aconst_null
astore 5
7: new com.sun.media.sound.RIFFWriter
dup
8: new com.sun.media.sound.WaveFloatFileWriter$NoCloseOutputStream
dup
aload 3
invokespecial com.sun.media.sound.WaveFloatFileWriter$NoCloseOutputStream.<init>:(Ljava/io/OutputStream;)V
ldc "WAVE"
9: invokespecial com.sun.media.sound.RIFFWriter.<init>:(Ljava/io/OutputStream;Ljava/lang/String;)V
astore 6
start local 6 10: aload 0
aload 1
aload 6
invokevirtual com.sun.media.sound.WaveFloatFileWriter.write:(Ljavax/sound/sampled/AudioInputStream;Lcom/sun/media/sound/RIFFWriter;)V
11: aload 6
invokevirtual com.sun.media.sound.RIFFWriter.getFilePointer:()J
l2i
12: aload 6
ifnull 13
aload 6
invokevirtual com.sun.media.sound.RIFFWriter.close:()V
13: StackMap locals: com.sun.media.sound.WaveFloatFileWriter javax.sound.sampled.AudioInputStream javax.sound.sampled.AudioFileFormat$Type java.io.OutputStream java.lang.Throwable java.lang.Throwable com.sun.media.sound.RIFFWriter
StackMap stack: int
ireturn
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 4
15: aload 6
ifnull 16
aload 6
invokevirtual com.sun.media.sound.RIFFWriter.close:()V
end local 6 StackMap locals:
StackMap stack:
16: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 5
aload 4
ifnonnull 18
aload 5
astore 4
goto 19
StackMap locals:
StackMap stack:
18: aload 4
aload 5
if_acmpeq 19
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 4
athrow
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/WaveFloatFileWriter;
0 20 1 stream Ljavax/sound/sampled/AudioInputStream;
0 20 2 fileType Ljavax/sound/sampled/AudioFileFormat$Type;
0 20 3 out Ljava/io/OutputStream;
10 16 6 writer Lcom/sun/media/sound/RIFFWriter;
Exception table:
from to target type
10 12 14 any
7 13 17 any
14 17 17 any
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=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 2
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
aload 2
aload 1
invokevirtual com.sun.media.sound.WaveFloatFileWriter.checkFormat:(Ljavax/sound/sampled/AudioFileFormat$Type;Ljavax/sound/sampled/AudioInputStream;)V
4: aload 1
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.isBigEndian:()Z
ifeq 6
5: aload 0
aload 1
invokevirtual com.sun.media.sound.WaveFloatFileWriter.toLittleEndian:(Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioInputStream;
astore 1
6: StackMap locals:
StackMap stack:
aconst_null
astore 4
aconst_null
astore 5
7: new com.sun.media.sound.RIFFWriter
dup
aload 3
ldc "WAVE"
invokespecial com.sun.media.sound.RIFFWriter.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 6
start local 6 8: aload 0
aload 1
aload 6
invokevirtual com.sun.media.sound.WaveFloatFileWriter.write:(Ljavax/sound/sampled/AudioInputStream;Lcom/sun/media/sound/RIFFWriter;)V
9: aload 6
invokevirtual com.sun.media.sound.RIFFWriter.getFilePointer:()J
l2i
10: aload 6
ifnull 11
aload 6
invokevirtual com.sun.media.sound.RIFFWriter.close:()V
11: StackMap locals: com.sun.media.sound.WaveFloatFileWriter javax.sound.sampled.AudioInputStream javax.sound.sampled.AudioFileFormat$Type java.io.File java.lang.Throwable java.lang.Throwable com.sun.media.sound.RIFFWriter
StackMap stack: int
ireturn
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 4
13: aload 6
ifnull 14
aload 6
invokevirtual com.sun.media.sound.RIFFWriter.close:()V
end local 6 StackMap locals:
StackMap stack:
14: aload 4
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 5
aload 4
ifnonnull 16
aload 5
astore 4
goto 17
StackMap locals:
StackMap stack:
16: aload 4
aload 5
if_acmpeq 17
aload 4
aload 5
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 4
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/media/sound/WaveFloatFileWriter;
0 18 1 stream Ljavax/sound/sampled/AudioInputStream;
0 18 2 fileType Ljavax/sound/sampled/AudioFileFormat$Type;
0 18 3 out Ljava/io/File;
8 14 6 writer Lcom/sun/media/sound/RIFFWriter;
Exception table:
from to target type
8 10 12 any
7 11 15 any
12 15 15 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stream
fileType
out
}
SourceFile: "WaveFloatFileWriter.java"
NestMembers:
com.sun.media.sound.WaveFloatFileWriter$NoCloseOutputStream
InnerClasses:
private final NoCloseOutputStream = com.sun.media.sound.WaveFloatFileWriter$NoCloseOutputStream of com.sun.media.sound.WaveFloatFileWriter
public Type = javax.sound.sampled.AudioFileFormat$Type of javax.sound.sampled.AudioFileFormat
public Encoding = javax.sound.sampled.AudioFormat$Encoding of javax.sound.sampled.AudioFormat