public class javax.sound.sampled.AudioFormat
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.sound.sampled.AudioFormat
super_class: java.lang.Object
{
protected javax.sound.sampled.AudioFormat$Encoding encoding;
descriptor: Ljavax/sound/sampled/AudioFormat$Encoding;
flags: (0x0004) ACC_PROTECTED
protected float sampleRate;
descriptor: F
flags: (0x0004) ACC_PROTECTED
protected int sampleSizeInBits;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int channels;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int frameSize;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected float frameRate;
descriptor: F
flags: (0x0004) ACC_PROTECTED
protected boolean bigEndian;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private java.util.HashMap<java.lang.String, java.lang.Object> properties;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
public void <init>(javax.sound.sampled.AudioFormat$Encoding, float, int, int, int, float, boolean);
descriptor: (Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield javax.sound.sampled.AudioFormat.encoding:Ljavax/sound/sampled/AudioFormat$Encoding;
2: aload 0
fload 2
putfield javax.sound.sampled.AudioFormat.sampleRate:F
3: aload 0
iload 3
putfield javax.sound.sampled.AudioFormat.sampleSizeInBits:I
4: aload 0
iload 4
putfield javax.sound.sampled.AudioFormat.channels:I
5: aload 0
iload 5
putfield javax.sound.sampled.AudioFormat.frameSize:I
6: aload 0
fload 6
putfield javax.sound.sampled.AudioFormat.frameRate:F
7: aload 0
iload 7
putfield javax.sound.sampled.AudioFormat.bigEndian:Z
8: aload 0
aconst_null
putfield javax.sound.sampled.AudioFormat.properties:Ljava/util/HashMap;
9: return
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 10 0 this Ljavax/sound/sampled/AudioFormat;
0 10 1 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
0 10 2 sampleRate F
0 10 3 sampleSizeInBits I
0 10 4 channels I
0 10 5 frameSize I
0 10 6 frameRate F
0 10 7 bigEndian Z
MethodParameters:
Name Flags
encoding
sampleRate
sampleSizeInBits
channels
frameSize
frameRate
bigEndian
public void <init>(javax.sound.sampled.AudioFormat$Encoding, float, int, int, int, float, boolean, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZLjava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=9
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
aload 1
fload 2
iload 3
iload 4
1: iload 5
fload 6
iload 7
invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
2: aload 0
new java.util.HashMap
dup
aload 8
invokespecial java.util.HashMap.<init>:(Ljava/util/Map;)V
putfield javax.sound.sampled.AudioFormat.properties:Ljava/util/HashMap;
3: return
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 4 0 this Ljavax/sound/sampled/AudioFormat;
0 4 1 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
0 4 2 sampleRate F
0 4 3 sampleSizeInBits I
0 4 4 channels I
0 4 5 frameSize I
0 4 6 frameRate F
0 4 7 bigEndian Z
0 4 8 properties Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: (Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZLjava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
encoding
sampleRate
sampleSizeInBits
channels
frameSize
frameRate
bigEndian
properties
public void <init>(float, int, int, boolean, boolean);
descriptor: (FIIZZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 4
ifeq 1
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
goto 2
StackMap locals:
StackMap stack: uninitialized-this
1: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
2: StackMap locals: uninitialized-this float int int int int
StackMap stack: uninitialized-this javax.sound.sampled.AudioFormat$Encoding
fload 1
3: iload 2
4: iload 3
5: iload 3
iconst_m1
if_icmpeq 6
iload 2
iconst_m1
if_icmpne 7
6: StackMap locals: uninitialized-this float int int int int
StackMap stack: uninitialized-this javax.sound.sampled.AudioFormat$Encoding float int int
iconst_m1
goto 8
7: StackMap locals: uninitialized-this float int int int int
StackMap stack: uninitialized-this javax.sound.sampled.AudioFormat$Encoding float int int
iload 2
bipush 7
iadd
bipush 8
idiv
iload 3
imul
8: StackMap locals: uninitialized-this float int int int int
StackMap stack: uninitialized-this javax.sound.sampled.AudioFormat$Encoding float int int int
fload 1
9: iload 5
invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
10: 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 11 0 this Ljavax/sound/sampled/AudioFormat;
0 11 1 sampleRate F
0 11 2 sampleSizeInBits I
0 11 3 channels I
0 11 4 signed Z
0 11 5 bigEndian Z
MethodParameters:
Name Flags
sampleRate
sampleSizeInBits
channels
signed
bigEndian
public javax.sound.sampled.AudioFormat$Encoding getEncoding();
descriptor: ()Ljavax/sound/sampled/AudioFormat$Encoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.AudioFormat.encoding:Ljavax/sound/sampled/AudioFormat$Encoding;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/sampled/AudioFormat;
public float getSampleRate();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.AudioFormat.sampleRate:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/sampled/AudioFormat;
public int getSampleSizeInBits();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.AudioFormat.sampleSizeInBits:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/sampled/AudioFormat;
public int getChannels();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.AudioFormat.channels:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/sampled/AudioFormat;
public int getFrameSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.AudioFormat.frameSize:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/sampled/AudioFormat;
public float getFrameRate();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.AudioFormat.frameRate:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/sampled/AudioFormat;
public boolean isBigEndian();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.AudioFormat.bigEndian:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/sound/sampled/AudioFormat;
public java.util.Map<java.lang.String, java.lang.Object> properties();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.sound.sampled.AudioFormat.properties:Ljava/util/HashMap;
ifnonnull 3
1: new java.util.HashMap
dup
iconst_0
invokespecial java.util.HashMap.<init>:(I)V
astore 1
start local 1 2: goto 4
end local 1 3: StackMap locals:
StackMap stack:
aload 0
getfield javax.sound.sampled.AudioFormat.properties:Ljava/util/HashMap;
invokevirtual java.util.HashMap.clone:()Ljava/lang/Object;
checkcast java.util.Map
astore 1
start local 1 4: StackMap locals: java.util.Map
StackMap stack:
aload 1
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/sound/sampled/AudioFormat;
2 3 1 ret Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
4 5 1 ret Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
public java.lang.Object getProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.sound.sampled.AudioFormat.properties:Ljava/util/HashMap;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.sound.sampled.AudioFormat.properties:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/sound/sampled/AudioFormat;
0 3 1 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public boolean matches(javax.sound.sampled.AudioFormat);
descriptor: (Ljavax/sound/sampled/AudioFormat;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 14
1: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
iconst_m1
if_icmpeq 3
2: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
if_icmpne 14
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
ldc -1.0
fcmpl
ifeq 5
4: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
fcmpl
ifne 14
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
iconst_m1
if_icmpeq 7
6: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
if_icmpne 14
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
ldc -1.0
fcmpl
ifeq 9
8: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
fcmpl
ifne 14
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
iconst_m1
if_icmpeq 11
10: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
if_icmpne 14
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
bipush 8
if_icmple 13
12: aload 1
invokevirtual javax.sound.sampled.AudioFormat.isBigEndian:()Z
aload 0
invokevirtual javax.sound.sampled.AudioFormat.isBigEndian:()Z
if_icmpne 14
13: StackMap locals:
StackMap stack:
iconst_1
ireturn
14: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/sound/sampled/AudioFormat;
0 15 1 format Ljavax/sound/sampled/AudioFormat;
MethodParameters:
Name Flags
format
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
ldc -1.0
fcmpl
ifne 2
1: ldc "unknown sample rate"
goto 3
StackMap locals:
StackMap stack:
2: new java.lang.StringBuilder
dup
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
invokestatic java.lang.String.valueOf:(F)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Hz"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: StackMap locals:
StackMap stack: java.lang.String
astore 1
start local 1 4: aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
iconst_m1
if_icmpne 6
5: ldc "unknown bits per sample"
goto 7
StackMap locals: java.lang.String
StackMap stack:
6: new java.lang.StringBuilder
dup
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " bit"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: StackMap locals:
StackMap stack: java.lang.String
astore 2
start local 2 8: aload 0
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
tableswitch { // -1 - 2
-1: 11
0: 12
1: 9
2: 10
default: 12
}
9: StackMap locals: java.lang.String
StackMap stack:
ldc "mono"
goto 13
10: StackMap locals:
StackMap stack:
ldc "stereo"
goto 13
11: StackMap locals:
StackMap stack:
ldc "unknown number of channels"
goto 13
12: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " channels"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: StackMap locals:
StackMap stack: java.lang.String
astore 3
start local 3 14: aload 0
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
iconst_m1
if_icmpne 16
15: ldc "unknown frame size"
goto 17
StackMap locals: java.lang.String
StackMap stack:
16: new java.lang.StringBuilder
dup
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " bytes/frame"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: StackMap locals:
StackMap stack: java.lang.String
astore 4
start local 4 18: ldc ""
astore 5
start local 5 19: aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
fsub
invokestatic java.lang.Math.abs:(F)F
f2d
ldc 1.0E-5
dcmpl
ifle 24
20: aload 0
invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
ldc -1.0
fcmpl
ifne 22
21: ldc ", unknown frame rate"
goto 23
StackMap locals: java.lang.String java.lang.String
StackMap stack:
22: new java.lang.StringBuilder
dup
ldc ", "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc " frames/second"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: StackMap locals:
StackMap stack: java.lang.String
astore 5
24: StackMap locals:
StackMap stack:
ldc ""
astore 6
start local 6 25: aload 0
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
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 27
26: aload 0
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
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 32
27: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
bipush 8
if_icmpgt 29
28: aload 0
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
iconst_m1
if_icmpne 32
29: StackMap locals:
StackMap stack:
aload 0
invokevirtual javax.sound.sampled.AudioFormat.isBigEndian:()Z
ifeq 30
ldc ", big-endian"
goto 31
StackMap locals:
StackMap stack:
30: ldc ", little-endian"
StackMap locals:
StackMap stack: java.lang.String
31: astore 6
32: StackMap locals:
StackMap stack:
ldc "%s %s, %s, %s, %s%s%s"
bipush 7
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
dup
iconst_1
33: aload 1
aastore
dup
iconst_2
aload 2
aastore
dup
iconst_3
aload 3
aastore
dup
iconst_4
aload 4
aastore
dup
iconst_5
34: aload 5
aastore
dup
bipush 6
aload 6
aastore
35: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
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 Ljavax/sound/sampled/AudioFormat;
4 36 1 sampleRate Ljava/lang/String;
8 36 2 sampleSize Ljava/lang/String;
14 36 3 channels Ljava/lang/String;
18 36 4 frameSize Ljava/lang/String;
19 36 5 frameRate Ljava/lang/String;
25 36 6 bigEndian Ljava/lang/String;
}
SourceFile: "AudioFormat.java"
NestMembers:
javax.sound.sampled.AudioFormat$Encoding
InnerClasses:
public Encoding = javax.sound.sampled.AudioFormat$Encoding of javax.sound.sampled.AudioFormat