public final class com.sun.media.sound.AlawCodec extends com.sun.media.sound.SunCodec
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.AlawCodec
super_class: com.sun.media.sound.SunCodec
{
private static final byte[] ALAW_TABH;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] ALAW_TABL;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final javax.sound.sampled.AudioFormat$Encoding[] alawEncodings;
descriptor: [Ljavax/sound/sampled/AudioFormat$Encoding;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final short[] seg_end;
descriptor: [S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int tempBufferSize;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 64
private byte[] tempBuffer;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=0
0: sipush 256
newarray 8
putstatic com.sun.media.sound.AlawCodec.ALAW_TABH:[B
1: sipush 256
newarray 8
putstatic com.sun.media.sound.AlawCodec.ALAW_TABL:[B
2: iconst_2
anewarray javax.sound.sampled.AudioFormat$Encoding
dup
iconst_0
getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
dup
iconst_1
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
putstatic com.sun.media.sound.AlawCodec.alawEncodings:[Ljavax/sound/sampled/AudioFormat$Encoding;
3: bipush 8
newarray 9
dup
iconst_0
sipush 255
sastore
dup
iconst_1
sipush 511
sastore
dup
iconst_2
sipush 1023
sastore
dup
iconst_3
4: sipush 2047
sastore
dup
iconst_4
sipush 4095
sastore
dup
iconst_5
sipush 8191
sastore
dup
bipush 6
sipush 16383
sastore
dup
bipush 7
sipush 32767
sastore
5: putstatic com.sun.media.sound.AlawCodec.seg_end:[S
6: iconst_0
istore 0
start local 0 7: goto 21
8: StackMap locals: int
StackMap stack:
iload 0
bipush 85
ixor
istore 1
start local 1 9: iload 1
bipush 15
iand
iconst_4
ishl
istore 2
start local 2 10: iload 1
bipush 112
iand
iconst_4
ishr
istore 3
start local 3 11: iload 2
bipush 8
iadd
istore 4
start local 4 12: iload 3
iconst_1
if_icmplt 14
13: iinc 4 256
14: StackMap locals: int int int int int
StackMap stack:
iload 3
iconst_1
if_icmple 16
15: iload 4
iload 3
iconst_1
isub
ishl
istore 4
16: StackMap locals:
StackMap stack:
iload 1
sipush 128
iand
ifne 18
17: iload 4
ineg
istore 4
18: StackMap locals:
StackMap stack:
getstatic com.sun.media.sound.AlawCodec.ALAW_TABL:[B
iload 0
iload 4
i2b
bastore
19: getstatic com.sun.media.sound.AlawCodec.ALAW_TABH:[B
iload 0
iload 4
bipush 8
ishr
i2b
bastore
end local 4 end local 3 end local 2 end local 1 20: iinc 0 1
StackMap locals: int
StackMap stack:
21: iload 0
sipush 256
if_icmplt 8
end local 0 22: return
LocalVariableTable:
Start End Slot Name Signature
7 22 0 i I
9 20 1 input I
10 20 2 mantissa I
11 20 3 segment I
12 20 4 value I
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.sun.media.sound.AlawCodec.alawEncodings:[Ljavax/sound/sampled/AudioFormat$Encoding;
getstatic com.sun.media.sound.AlawCodec.alawEncodings:[Ljavax/sound/sampled/AudioFormat$Encoding;
invokespecial com.sun.media.sound.SunCodec.<init>:([Ljavax/sound/sampled/AudioFormat$Encoding;[Ljavax/sound/sampled/AudioFormat$Encoding;)V
1: aload 0
aconst_null
putfield com.sun.media.sound.AlawCodec.tempBuffer:[B
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/sound/AlawCodec;
public javax.sound.sampled.AudioFormat$Encoding[] getTargetEncodings(javax.sound.sampled.AudioFormat);
descriptor: (Ljavax/sound/sampled/AudioFormat;)[Ljavax/sound/sampled/AudioFormat$Encoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
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
ifeq 6
1: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
bipush 16
if_icmpne 5
2: iconst_1
anewarray javax.sound.sampled.AudioFormat$Encoding
astore 2
start local 2 3: aload 2
iconst_0
getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
4: aload 2
areturn
end local 2 5: StackMap locals:
StackMap stack:
iconst_0
anewarray javax.sound.sampled.AudioFormat$Encoding
areturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 12
7: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
bipush 8
if_icmpne 11
8: iconst_1
anewarray javax.sound.sampled.AudioFormat$Encoding
astore 2
start local 2 9: aload 2
iconst_0
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
10: aload 2
areturn
end local 2 11: StackMap locals:
StackMap stack:
iconst_0
anewarray javax.sound.sampled.AudioFormat$Encoding
areturn
12: StackMap locals:
StackMap stack:
iconst_0
anewarray javax.sound.sampled.AudioFormat$Encoding
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/media/sound/AlawCodec;
0 13 1 sourceFormat Ljavax/sound/sampled/AudioFormat;
3 5 2 enc [Ljavax/sound/sampled/AudioFormat$Encoding;
9 11 2 enc [Ljavax/sound/sampled/AudioFormat$Encoding;
MethodParameters:
Name Flags
sourceFormat
public javax.sound.sampled.AudioFormat[] getTargetFormats(javax.sound.sampled.AudioFormat$Encoding, javax.sound.sampled.AudioFormat);
descriptor: (Ljavax/sound/sampled/AudioFormat$Encoding;Ljavax/sound/sampled/AudioFormat;)[Ljavax/sound/sampled/AudioFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 1
aload 2
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifne 2
1: StackMap locals:
StackMap stack:
aload 1
getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 3
aload 2
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
ifeq 3
2: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual com.sun.media.sound.AlawCodec.getOutputFormats:(Ljavax/sound/sampled/AudioFormat;)[Ljavax/sound/sampled/AudioFormat;
areturn
3: StackMap locals:
StackMap stack:
iconst_0
anewarray javax.sound.sampled.AudioFormat
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/sound/AlawCodec;
0 4 1 targetEncoding Ljavax/sound/sampled/AudioFormat$Encoding;
0 4 2 sourceFormat Ljavax/sound/sampled/AudioFormat;
MethodParameters:
Name Flags
targetEncoding
sourceFormat
public javax.sound.sampled.AudioInputStream getAudioInputStream(javax.sound.sampled.AudioFormat$Encoding, javax.sound.sampled.AudioInputStream);
descriptor: (Ljavax/sound/sampled/AudioFormat$Encoding;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioInputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
astore 3
start local 3 1: aload 3
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
astore 4
start local 4 2: aload 4
aload 1
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 2
areturn
4: StackMap locals: javax.sound.sampled.AudioFormat javax.sound.sampled.AudioFormat$Encoding
StackMap stack:
aconst_null
astore 5
start local 5 5: aload 0
aload 1
aload 2
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual com.sun.media.sound.AlawCodec.isConversionSupported:(Ljavax/sound/sampled/AudioFormat$Encoding;Ljavax/sound/sampled/AudioFormat;)Z
ifne 7
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported conversion: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual javax.sound.sampled.AudioFormat$Encoding.toString:()Ljava/lang/String;
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: javax.sound.sampled.AudioFormat
StackMap stack:
aload 4
getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 18
8: aload 1
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 18
9: new javax.sound.sampled.AudioFormat
dup
aload 1
10: aload 3
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
11: bipush 16
12: aload 3
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
13: iconst_2
aload 3
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
imul
14: aload 3
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
15: aload 3
invokevirtual javax.sound.sampled.AudioFormat.isBigEndian:()Z
16: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
astore 5
17: goto 30
StackMap locals:
StackMap stack:
18: aload 4
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 29
19: aload 1
getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 29
20: new javax.sound.sampled.AudioFormat
dup
aload 1
21: aload 3
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
22: bipush 8
23: aload 3
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
24: aload 3
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
25: aload 3
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
26: iconst_0
27: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
astore 5
28: goto 30
29: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported conversion: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual javax.sound.sampled.AudioFormat$Encoding.toString:()Ljava/lang/String;
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
30: StackMap locals:
StackMap stack:
aload 0
aload 5
aload 2
invokevirtual com.sun.media.sound.AlawCodec.getAudioInputStream:(Ljavax/sound/sampled/AudioFormat;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioInputStream;
areturn
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 31 0 this Lcom/sun/media/sound/AlawCodec;
0 31 1 targetEncoding Ljavax/sound/sampled/AudioFormat$Encoding;
0 31 2 sourceStream Ljavax/sound/sampled/AudioInputStream;
1 31 3 sourceFormat Ljavax/sound/sampled/AudioFormat;
2 31 4 sourceEncoding Ljavax/sound/sampled/AudioFormat$Encoding;
5 31 5 targetFormat Ljavax/sound/sampled/AudioFormat;
MethodParameters:
Name Flags
targetEncoding
sourceStream
public javax.sound.sampled.AudioInputStream getAudioInputStream(javax.sound.sampled.AudioFormat, javax.sound.sampled.AudioInputStream);
descriptor: (Ljavax/sound/sampled/AudioFormat;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioInputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual com.sun.media.sound.AlawCodec.getConvertedStream:(Ljavax/sound/sampled/AudioFormat;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioInputStream;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/AlawCodec;
0 1 1 targetFormat Ljavax/sound/sampled/AudioFormat;
0 1 2 sourceStream Ljavax/sound/sampled/AudioInputStream;
MethodParameters:
Name Flags
targetFormat
sourceStream
private javax.sound.sampled.AudioInputStream getConvertedStream(javax.sound.sampled.AudioFormat, javax.sound.sampled.AudioInputStream);
descriptor: (Ljavax/sound/sampled/AudioFormat;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioInputStream;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aload 2
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
astore 4
start local 4 2: aload 4
aload 1
invokevirtual javax.sound.sampled.AudioFormat.matches:(Ljavax/sound/sampled/AudioFormat;)Z
ifeq 5
3: aload 2
astore 3
4: goto 7
5: StackMap locals: javax.sound.sampled.AudioInputStream javax.sound.sampled.AudioFormat
StackMap stack:
new com.sun.media.sound.AlawCodec$AlawCodecStream
dup
aload 0
aload 2
aload 1
invokespecial com.sun.media.sound.AlawCodec$AlawCodecStream.<init>:(Lcom/sun/media/sound/AlawCodec;Ljavax/sound/sampled/AudioInputStream;Ljavax/sound/sampled/AudioFormat;)V
astore 3
6: aload 0
bipush 64
newarray 8
putfield com.sun.media.sound.AlawCodec.tempBuffer:[B
7: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/media/sound/AlawCodec;
0 8 1 outputFormat Ljavax/sound/sampled/AudioFormat;
0 8 2 stream Ljavax/sound/sampled/AudioInputStream;
1 8 3 cs Ljavax/sound/sampled/AudioInputStream;
2 8 4 inputFormat Ljavax/sound/sampled/AudioFormat;
MethodParameters:
Name Flags
outputFormat
stream
private javax.sound.sampled.AudioFormat[] getOutputFormats(javax.sound.sampled.AudioFormat);
descriptor: (Ljavax/sound/sampled/AudioFormat;)[Ljavax/sound/sampled/AudioFormat;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=6, args_size=2
start local 0 start local 1 0: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 2
start local 2 1: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aload 1
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 11
2: new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
3: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
4: bipush 8
5: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
6: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
7: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
8: iconst_0
9: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
astore 3
start local 3 10: aload 2
aload 3
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 3 11: StackMap locals: java.util.Vector
StackMap stack:
getstatic javax.sound.sampled.AudioFormat$Encoding.ALAW:Ljavax/sound/sampled/AudioFormat$Encoding;
aload 1
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 30
12: new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
13: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
14: bipush 16
15: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
16: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
iconst_2
imul
17: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
18: iconst_0
19: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
astore 3
start local 3 20: aload 2
aload 3
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
21: new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
22: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
23: bipush 16
24: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
25: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
iconst_2
imul
26: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
27: iconst_1
28: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
astore 3
29: aload 2
aload 3
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 3 30: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.Vector.size:()I
anewarray javax.sound.sampled.AudioFormat
astore 4
start local 4 31: iconst_0
istore 5
start local 5 32: goto 35
33: StackMap locals: com.sun.media.sound.AlawCodec javax.sound.sampled.AudioFormat java.util.Vector top javax.sound.sampled.AudioFormat[] int
StackMap stack:
aload 4
iload 5
aload 2
iload 5
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast javax.sound.sampled.AudioFormat
aastore
34: iinc 5 1
StackMap locals:
StackMap stack:
35: iload 5
aload 4
arraylength
if_icmplt 33
end local 5 36: aload 4
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lcom/sun/media/sound/AlawCodec;
0 37 1 inputFormat Ljavax/sound/sampled/AudioFormat;
1 37 2 formats Ljava/util/Vector;
10 11 3 format Ljavax/sound/sampled/AudioFormat;
20 30 3 format Ljavax/sound/sampled/AudioFormat;
31 37 4 formatArray [Ljavax/sound/sampled/AudioFormat;
32 36 5 i I
MethodParameters:
Name Flags
inputFormat
}
SourceFile: "AlawCodec.java"
NestMembers:
com.sun.media.sound.AlawCodec$AlawCodecStream
InnerClasses:
final AlawCodecStream = com.sun.media.sound.AlawCodec$AlawCodecStream of com.sun.media.sound.AlawCodec
public Encoding = javax.sound.sampled.AudioFormat$Encoding of javax.sound.sampled.AudioFormat