final class com.sun.media.sound.WaveFileFormat extends javax.sound.sampled.AudioFileFormat
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.WaveFileFormat
super_class: javax.sound.sampled.AudioFileFormat
{
private final int waveType;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final int STANDARD_HEADER_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 28
private static final int STANDARD_FMT_CHUNK_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
static final int RIFF_MAGIC;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1380533830
static final int WAVE_MAGIC;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1463899717
static final int FMT_MAGIC;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1718449184
static final int DATA_MAGIC;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1684108385
static final int WAVE_FORMAT_UNKNOWN;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int WAVE_FORMAT_PCM;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int WAVE_FORMAT_ADPCM;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int WAVE_FORMAT_ALAW;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 6
static final int WAVE_FORMAT_MULAW;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 7
static final int WAVE_FORMAT_OKI_ADPCM;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 16
static final int WAVE_FORMAT_DIGISTD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 21
static final int WAVE_FORMAT_DIGIFIX;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 22
static final int WAVE_IBM_FORMAT_MULAW;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 257
static final int WAVE_IBM_FORMAT_ALAW;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 258
static final int WAVE_IBM_FORMAT_ADPCM;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 259
static final int WAVE_FORMAT_DVI_ADPCM;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 17
static final int WAVE_FORMAT_SX7383;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 7175
void <init>(javax.sound.sampled.AudioFileFormat);
descriptor: (Ljavax/sound/sampled/AudioFileFormat;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual javax.sound.sampled.AudioFileFormat.getType:()Ljavax/sound/sampled/AudioFileFormat$Type;
aload 1
invokevirtual javax.sound.sampled.AudioFileFormat.getByteLength:()I
aload 1
invokevirtual javax.sound.sampled.AudioFileFormat.getFormat:()Ljavax/sound/sampled/AudioFormat;
aload 1
invokevirtual javax.sound.sampled.AudioFileFormat.getFrameLength:()I
invokespecial com.sun.media.sound.WaveFileFormat.<init>:(Ljavax/sound/sampled/AudioFileFormat$Type;ILjavax/sound/sampled/AudioFormat;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/WaveFileFormat;
0 2 1 aff Ljavax/sound/sampled/AudioFileFormat;
MethodParameters:
Name Flags
aff
void <init>(javax.sound.sampled.AudioFileFormat$Type, int, javax.sound.sampled.AudioFormat, int);
descriptor: (Ljavax/sound/sampled/AudioFileFormat$Type;ILjavax/sound/sampled/AudioFormat;I)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
iload 2
aload 3
iload 4
invokespecial javax.sound.sampled.AudioFileFormat.<init>:(Ljavax/sound/sampled/AudioFileFormat$Type;ILjavax/sound/sampled/AudioFormat;I)V
1: aload 3
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
astore 5
start local 5 2: aload 5
getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 5
3: aload 0
bipush 6
putfield com.sun.media.sound.WaveFileFormat.waveType:I
4: goto 13
StackMap locals: com.sun.media.sound.WaveFileFormat javax.sound.sampled.AudioFileFormat$Type int javax.sound.sampled.AudioFormat int javax.sound.sampled.AudioFormat$Encoding
StackMap stack:
5: aload 5
getstatic javax.sound.sampled.AudioFormat$Encoding.ULAW:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 0
bipush 7
putfield com.sun.media.sound.WaveFileFormat.waveType:I
7: goto 13
StackMap locals:
StackMap stack:
8: aload 5
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifne 10
9: aload 5
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 12
10: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.media.sound.WaveFileFormat.waveType:I
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.sun.media.sound.WaveFileFormat.waveType:I
13: StackMap locals:
StackMap stack:
return
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 14 0 this Lcom/sun/media/sound/WaveFileFormat;
0 14 1 type Ljavax/sound/sampled/AudioFileFormat$Type;
0 14 2 lengthInBytes I
0 14 3 format Ljavax/sound/sampled/AudioFormat;
0 14 4 lengthInFrames I
2 14 5 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
MethodParameters:
Name Flags
type
lengthInBytes
format
lengthInFrames
int getWaveType();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.WaveFileFormat.waveType:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/WaveFileFormat;
int ();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.WaveFileFormat.getWaveType:()I
invokestatic com.sun.media.sound.WaveFileFormat.getHeaderSize:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/WaveFileFormat;
static int (int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: bipush 28
iload 0
invokestatic com.sun.media.sound.WaveFileFormat.getFmtChunkSize:(I)I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 waveType I
MethodParameters:
Name Flags
waveType
static int getFmtChunkSize(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 16
istore 1
start local 1 1: iload 0
iconst_1
if_icmpeq 3
2: iinc 1 2
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 waveType I
1 4 1 result I
MethodParameters:
Name Flags
waveType
}
SourceFile: "WaveFileFormat.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