public final class com.sun.media.sound.AudioFloatFormatConverter extends javax.sound.sampled.spi.FormatConversionProvider
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.AudioFloatFormatConverter
super_class: javax.sound.sampled.spi.FormatConversionProvider
{
private final javax.sound.sampled.AudioFormat$Encoding[] formats;
descriptor: [Ljavax/sound/sampled/AudioFormat$Encoding;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.sound.sampled.spi.FormatConversionProvider.<init>:()V
1: aload 0
iconst_3
anewarray javax.sound.sampled.AudioFormat$Encoding
dup
iconst_0
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
dup
iconst_1
2: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
dup
iconst_2
3: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_FLOAT:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
putfield com.sun.media.sound.AudioFloatFormatConverter.formats:[Ljavax/sound/sampled/AudioFormat$Encoding;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/AudioFloatFormatConverter;
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=10, 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;
invokevirtual javax.sound.sampled.AudioFormat.getEncoding:()Ljavax/sound/sampled/AudioFormat$Encoding;
aload 1
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 2
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
astore 3
start local 3 3: aload 3
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
istore 4
start local 4 4: aload 1
astore 5
start local 5 5: aload 3
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
fstore 6
start local 6 6: aload 3
invokevirtual javax.sound.sampled.AudioFormat.getSampleSizeInBits:()I
istore 7
start local 7 7: aload 3
invokevirtual javax.sound.sampled.AudioFormat.isBigEndian:()Z
istore 8
start local 8 8: aload 1
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_FLOAT:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 10
9: bipush 32
istore 7
10: StackMap locals: com.sun.media.sound.AudioFloatFormatConverter javax.sound.sampled.AudioFormat$Encoding javax.sound.sampled.AudioInputStream javax.sound.sampled.AudioFormat int javax.sound.sampled.AudioFormat$Encoding float int int
StackMap stack:
new javax.sound.sampled.AudioFormat
dup
aload 5
fload 6
iload 7
11: iload 4
iload 4
iload 7
imul
bipush 8
idiv
fload 6
iload 8
12: invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
astore 9
start local 9 13: aload 0
aload 9
aload 2
invokevirtual com.sun.media.sound.AudioFloatFormatConverter.getAudioInputStream:(Ljavax/sound/sampled/AudioFormat;Ljavax/sound/sampled/AudioInputStream;)Ljavax/sound/sampled/AudioInputStream;
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 14 0 this Lcom/sun/media/sound/AudioFloatFormatConverter;
0 14 1 targetEncoding Ljavax/sound/sampled/AudioFormat$Encoding;
0 14 2 sourceStream Ljavax/sound/sampled/AudioInputStream;
3 14 3 format Ljavax/sound/sampled/AudioFormat;
4 14 4 channels I
5 14 5 encoding Ljavax/sound/sampled/AudioFormat$Encoding;
6 14 6 samplerate F
7 14 7 bits I
8 14 8 bigendian Z
13 14 9 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=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual javax.sound.sampled.AudioInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual com.sun.media.sound.AudioFloatFormatConverter.isConversionSupported:(Ljavax/sound/sampled/AudioFormat;Ljavax/sound/sampled/AudioFormat;)Z
ifne 5
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported conversion: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: 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;
3: aload 1
invokevirtual javax.sound.sampled.AudioFormat.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
6: aload 2
invokestatic com.sun.media.sound.AudioFloatInputStream.getInputStream:(Ljavax/sound/sampled/AudioInputStream;)Lcom/sun/media/sound/AudioFloatInputStream;
7: invokevirtual com.sun.media.sound.AudioFloatFormatConverter.getAudioInputStream:(Ljavax/sound/sampled/AudioFormat;Lcom/sun/media/sound/AudioFloatInputStream;)Ljavax/sound/sampled/AudioInputStream;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/media/sound/AudioFloatFormatConverter;
0 8 1 targetFormat Ljavax/sound/sampled/AudioFormat;
0 8 2 sourceStream Ljavax/sound/sampled/AudioInputStream;
MethodParameters:
Name Flags
targetFormat
sourceStream
public javax.sound.sampled.AudioInputStream getAudioInputStream(javax.sound.sampled.AudioFormat, com.sun.media.sound.AudioFloatInputStream);
descriptor: (Ljavax/sound/sampled/AudioFormat;Lcom/sun/media/sound/AudioFloatInputStream;)Ljavax/sound/sampled/AudioInputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, 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.AudioFloatInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual com.sun.media.sound.AudioFloatFormatConverter.isConversionSupported:(Ljavax/sound/sampled/AudioFormat;Ljavax/sound/sampled/AudioFormat;)Z
ifne 5
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported conversion: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 2
invokevirtual com.sun.media.sound.AudioFloatInputStream.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;
3: aload 1
invokevirtual javax.sound.sampled.AudioFormat.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
aload 2
invokevirtual com.sun.media.sound.AudioFloatInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
6: invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
7: if_icmpeq 11
8: new com.sun.media.sound.AudioFloatFormatConverter$AudioFloatInputStreamChannelMixer
dup
aload 2
9: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
10: invokespecial com.sun.media.sound.AudioFloatFormatConverter$AudioFloatInputStreamChannelMixer.<init>:(Lcom/sun/media/sound/AudioFloatInputStream;I)V
astore 2
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
12: aload 2
invokevirtual com.sun.media.sound.AudioFloatInputStream.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getSampleRate:()F
13: fsub
invokestatic java.lang.Math.abs:(F)F
f2d
14: ldc 1.0E-6
dcmpl
ifle 18
15: new com.sun.media.sound.AudioFloatFormatConverter$AudioFloatInputStreamResampler
dup
aload 2
16: aload 1
17: invokespecial com.sun.media.sound.AudioFloatFormatConverter$AudioFloatInputStreamResampler.<init>:(Lcom/sun/media/sound/AudioFloatInputStream;Ljavax/sound/sampled/AudioFormat;)V
astore 2
18: StackMap locals:
StackMap stack:
new javax.sound.sampled.AudioInputStream
dup
new com.sun.media.sound.AudioFloatFormatConverter$AudioFloatFormatConverterInputStream
dup
19: aload 1
aload 2
invokespecial com.sun.media.sound.AudioFloatFormatConverter$AudioFloatFormatConverterInputStream.<init>:(Ljavax/sound/sampled/AudioFormat;Lcom/sun/media/sound/AudioFloatInputStream;)V
aload 1
aload 2
20: invokevirtual com.sun.media.sound.AudioFloatInputStream.getFrameLength:()J
21: invokespecial javax.sound.sampled.AudioInputStream.<init>:(Ljava/io/InputStream;Ljavax/sound/sampled/AudioFormat;J)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/media/sound/AudioFloatFormatConverter;
0 22 1 targetFormat Ljavax/sound/sampled/AudioFormat;
0 22 2 sourceStream Lcom/sun/media/sound/AudioFloatInputStream;
MethodParameters:
Name Flags
targetFormat
sourceStream
public javax.sound.sampled.AudioFormat$Encoding[] getSourceEncodings();
descriptor: ()[Ljavax/sound/sampled/AudioFormat$Encoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_3
anewarray javax.sound.sampled.AudioFormat$Encoding
dup
iconst_0
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
dup
iconst_1
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
dup
iconst_2
1: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_FLOAT:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/sound/AudioFloatFormatConverter;
public javax.sound.sampled.AudioFormat$Encoding[] getTargetEncodings();
descriptor: ()[Ljavax/sound/sampled/AudioFormat$Encoding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_3
anewarray javax.sound.sampled.AudioFormat$Encoding
dup
iconst_0
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
dup
iconst_1
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
dup
iconst_2
1: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_FLOAT:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/sound/AudioFloatFormatConverter;
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=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.sun.media.sound.AudioFloatConverter.getConverter:(Ljavax/sound/sampled/AudioFormat;)Lcom/sun/media/sound/AudioFloatConverter;
ifnonnull 2
1: iconst_0
anewarray javax.sound.sampled.AudioFormat$Encoding
areturn
2: StackMap locals:
StackMap stack:
iconst_3
anewarray javax.sound.sampled.AudioFormat$Encoding
dup
iconst_0
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
dup
iconst_1
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
dup
iconst_2
3: getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_FLOAT:Ljavax/sound/sampled/AudioFormat$Encoding;
aastore
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/AudioFloatFormatConverter;
0 5 1 sourceFormat Ljavax/sound/sampled/AudioFormat;
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=10, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic com.sun.media.sound.AudioFloatConverter.getConverter:(Ljavax/sound/sampled/AudioFormat;)Lcom/sun/media/sound/AudioFloatConverter;
ifnonnull 2
1: iconst_0
anewarray javax.sound.sampled.AudioFormat
areturn
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
istore 3
start local 3 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 4: 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 9
5: aload 4
new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
6: ldc -1.0
bipush 8
iload 3
iload 3
7: ldc -1.0
iconst_0
invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
8: invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
9: StackMap locals: int java.util.ArrayList
StackMap stack:
aload 1
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 14
10: aload 4
new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
11: ldc -1.0
bipush 8
iload 3
iload 3
12: ldc -1.0
iconst_0
invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
13: invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
14: StackMap locals:
StackMap stack:
bipush 16
istore 5
start local 5 15: goto 35
16: StackMap locals: int
StackMap stack:
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 25
17: aload 4
new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
18: ldc -1.0
iload 5
iload 3
iload 3
19: iload 5
imul
bipush 8
idiv
ldc -1.0
iconst_0
invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
20: invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
21: aload 4
new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_SIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
22: ldc -1.0
iload 5
iload 3
iload 3
23: iload 5
imul
bipush 8
idiv
ldc -1.0
iconst_1
invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
24: invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
25: StackMap locals:
StackMap stack:
aload 1
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 34
26: aload 4
new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
27: ldc -1.0
iload 5
iload 3
iload 3
28: iload 5
imul
bipush 8
idiv
ldc -1.0
iconst_1
invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
29: invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
30: aload 4
new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_UNSIGNED:Ljavax/sound/sampled/AudioFormat$Encoding;
31: ldc -1.0
iload 5
iload 3
iload 3
32: iload 5
imul
bipush 8
idiv
ldc -1.0
iconst_0
invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
33: invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
34: StackMap locals:
StackMap stack:
iinc 5 8
StackMap locals:
StackMap stack:
35: iload 5
bipush 32
if_icmplt 16
end local 5 36: aload 1
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_FLOAT:Ljavax/sound/sampled/AudioFormat$Encoding;
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 53
37: aload 4
new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_FLOAT:Ljavax/sound/sampled/AudioFormat$Encoding;
38: ldc -1.0
bipush 32
iload 3
iload 3
iconst_4
imul
39: ldc -1.0
iconst_0
invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
40: invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
41: aload 4
new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_FLOAT:Ljavax/sound/sampled/AudioFormat$Encoding;
42: ldc -1.0
bipush 32
iload 3
iload 3
iconst_4
imul
43: ldc -1.0
iconst_1
invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
44: invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
45: aload 4
new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_FLOAT:Ljavax/sound/sampled/AudioFormat$Encoding;
46: ldc -1.0
bipush 64
iload 3
iload 3
bipush 8
imul
47: ldc -1.0
iconst_0
invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
48: invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
49: aload 4
new javax.sound.sampled.AudioFormat
dup
getstatic javax.sound.sampled.AudioFormat$Encoding.PCM_FLOAT:Ljavax/sound/sampled/AudioFormat$Encoding;
50: ldc -1.0
bipush 64
iload 3
iload 3
bipush 8
imul
51: ldc -1.0
iconst_1
invokespecial javax.sound.sampled.AudioFormat.<init>:(Ljavax/sound/sampled/AudioFormat$Encoding;FIIIFZ)V
52: invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
53: StackMap locals:
StackMap stack:
aload 4
aload 4
invokevirtual java.util.ArrayList.size:()I
anewarray javax.sound.sampled.AudioFormat
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.sound.sampled.AudioFormat[]
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 54 0 this Lcom/sun/media/sound/AudioFloatFormatConverter;
0 54 1 targetEncoding Ljavax/sound/sampled/AudioFormat$Encoding;
0 54 2 sourceFormat Ljavax/sound/sampled/AudioFormat;
3 54 3 channels I
4 54 4 formats Ljava/util/ArrayList<Ljavax/sound/sampled/AudioFormat;>;
15 36 5 bits I
MethodParameters:
Name Flags
targetEncoding
sourceFormat
public boolean isConversionSupported(javax.sound.sampled.AudioFormat, javax.sound.sampled.AudioFormat);
descriptor: (Ljavax/sound/sampled/AudioFormat;Ljavax/sound/sampled/AudioFormat;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic com.sun.media.sound.AudioFloatConverter.getConverter:(Ljavax/sound/sampled/AudioFormat;)Lcom/sun/media/sound/AudioFloatConverter;
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokestatic com.sun.media.sound.AudioFloatConverter.getConverter:(Ljavax/sound/sampled/AudioFormat;)Lcom/sun/media/sound/AudioFloatConverter;
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
ifgt 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
ifgt 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/media/sound/AudioFloatFormatConverter;
0 9 1 targetFormat Ljavax/sound/sampled/AudioFormat;
0 9 2 sourceFormat Ljavax/sound/sampled/AudioFormat;
MethodParameters:
Name Flags
targetFormat
sourceFormat
public boolean isConversionSupported(javax.sound.sampled.AudioFormat$Encoding, javax.sound.sampled.AudioFormat);
descriptor: (Ljavax/sound/sampled/AudioFormat$Encoding;Ljavax/sound/sampled/AudioFormat;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic com.sun.media.sound.AudioFloatConverter.getConverter:(Ljavax/sound/sampled/AudioFormat;)Lcom/sun/media/sound/AudioFloatConverter;
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield com.sun.media.sound.AudioFloatFormatConverter.formats:[Ljavax/sound/sampled/AudioFormat$Encoding;
iload 3
aaload
invokevirtual javax.sound.sampled.AudioFormat$Encoding.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 0
getfield com.sun.media.sound.AudioFloatFormatConverter.formats:[Ljavax/sound/sampled/AudioFormat$Encoding;
arraylength
if_icmplt 4
end local 3 8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/media/sound/AudioFloatFormatConverter;
0 9 1 targetEncoding Ljavax/sound/sampled/AudioFormat$Encoding;
0 9 2 sourceFormat Ljavax/sound/sampled/AudioFormat;
3 8 3 i I
MethodParameters:
Name Flags
targetEncoding
sourceFormat
}
SourceFile: "AudioFloatFormatConverter.java"
NestMembers:
com.sun.media.sound.AudioFloatFormatConverter$AudioFloatFormatConverterInputStream com.sun.media.sound.AudioFloatFormatConverter$AudioFloatInputStreamChannelMixer com.sun.media.sound.AudioFloatFormatConverter$AudioFloatInputStreamResampler
InnerClasses:
private AudioFloatFormatConverterInputStream = com.sun.media.sound.AudioFloatFormatConverter$AudioFloatFormatConverterInputStream of com.sun.media.sound.AudioFloatFormatConverter
private AudioFloatInputStreamChannelMixer = com.sun.media.sound.AudioFloatFormatConverter$AudioFloatInputStreamChannelMixer of com.sun.media.sound.AudioFloatFormatConverter
private AudioFloatInputStreamResampler = com.sun.media.sound.AudioFloatFormatConverter$AudioFloatInputStreamResampler of com.sun.media.sound.AudioFloatFormatConverter
public Encoding = javax.sound.sampled.AudioFormat$Encoding of javax.sound.sampled.AudioFormat