public final class com.sun.media.sound.SF2Soundbank implements javax.sound.midi.Soundbank
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.SF2Soundbank
super_class: java.lang.Object
{
int major;
descriptor: I
flags: (0x0000)
int minor;
descriptor: I
flags: (0x0000)
java.lang.String targetEngine;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String romName;
descriptor: Ljava/lang/String;
flags: (0x0000)
int romVersionMajor;
descriptor: I
flags: (0x0000)
int romVersionMinor;
descriptor: I
flags: (0x0000)
java.lang.String creationDate;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String engineers;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String product;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String copyright;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String ;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.String tools;
descriptor: Ljava/lang/String;
flags: (0x0000)
private com.sun.media.sound.ModelByteBuffer sampleData;
descriptor: Lcom/sun/media/sound/ModelByteBuffer;
flags: (0x0002) ACC_PRIVATE
private com.sun.media.sound.ModelByteBuffer sampleData24;
descriptor: Lcom/sun/media/sound/ModelByteBuffer;
flags: (0x0002) ACC_PRIVATE
private java.io.File sampleFile;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
private boolean largeFormat;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.util.List<com.sun.media.sound.SF2Instrument> instruments;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/sun/media/sound/SF2Instrument;>;
private final java.util.List<com.sun.media.sound.SF2Layer> layers;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/sun/media/sound/SF2Layer;>;
private final java.util.List<com.sun.media.sound.SF2Sample> samples;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/sun/media/sound/SF2Sample;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_2
putfield com.sun.media.sound.SF2Soundbank.major:I
2: aload 0
iconst_1
putfield com.sun.media.sound.SF2Soundbank.minor:I
3: aload 0
ldc "EMU8000"
putfield com.sun.media.sound.SF2Soundbank.targetEngine:Ljava/lang/String;
4: aload 0
ldc "untitled"
putfield com.sun.media.sound.SF2Soundbank.name:Ljava/lang/String;
5: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.romName:Ljava/lang/String;
6: aload 0
iconst_m1
putfield com.sun.media.sound.SF2Soundbank.romVersionMajor:I
7: aload 0
iconst_m1
putfield com.sun.media.sound.SF2Soundbank.romVersionMinor:I
8: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.creationDate:Ljava/lang/String;
9: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.engineers:Ljava/lang/String;
10: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.product:Ljava/lang/String;
11: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.copyright:Ljava/lang/String;
12: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.comments:Ljava/lang/String;
13: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.tools:Ljava/lang/String;
14: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.sampleData:Lcom/sun/media/sound/ModelByteBuffer;
15: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.sampleData24:Lcom/sun/media/sound/ModelByteBuffer;
16: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.sampleFile:Ljava/io/File;
17: aload 0
iconst_0
putfield com.sun.media.sound.SF2Soundbank.largeFormat:Z
18: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
19: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
20: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
21: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/media/sound/SF2Soundbank;
public void <init>(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_2
putfield com.sun.media.sound.SF2Soundbank.major:I
2: aload 0
iconst_1
putfield com.sun.media.sound.SF2Soundbank.minor:I
3: aload 0
ldc "EMU8000"
putfield com.sun.media.sound.SF2Soundbank.targetEngine:Ljava/lang/String;
4: aload 0
ldc "untitled"
putfield com.sun.media.sound.SF2Soundbank.name:Ljava/lang/String;
5: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.romName:Ljava/lang/String;
6: aload 0
iconst_m1
putfield com.sun.media.sound.SF2Soundbank.romVersionMajor:I
7: aload 0
iconst_m1
putfield com.sun.media.sound.SF2Soundbank.romVersionMinor:I
8: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.creationDate:Ljava/lang/String;
9: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.engineers:Ljava/lang/String;
10: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.product:Ljava/lang/String;
11: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.copyright:Ljava/lang/String;
12: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.comments:Ljava/lang/String;
13: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.tools:Ljava/lang/String;
14: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.sampleData:Lcom/sun/media/sound/ModelByteBuffer;
15: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.sampleData24:Lcom/sun/media/sound/ModelByteBuffer;
16: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.sampleFile:Ljava/io/File;
17: aload 0
iconst_0
putfield com.sun.media.sound.SF2Soundbank.largeFormat:Z
18: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
19: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
20: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
21: aload 1
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 2
start local 2 22: aload 0
aload 2
invokevirtual com.sun.media.sound.SF2Soundbank.readSoundbank:(Ljava/io/InputStream;)V
23: goto 27
StackMap locals: com.sun.media.sound.SF2Soundbank java.net.URL java.io.InputStream
StackMap stack: java.lang.Throwable
24: astore 3
25: aload 2
invokevirtual java.io.InputStream.close:()V
26: aload 3
athrow
27: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.InputStream.close:()V
28: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/media/sound/SF2Soundbank;
0 29 1 url Ljava/net/URL;
22 29 2 is Ljava/io/InputStream;
Exception table:
from to target type
22 24 24 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
url
public void <init>(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_2
putfield com.sun.media.sound.SF2Soundbank.major:I
2: aload 0
iconst_1
putfield com.sun.media.sound.SF2Soundbank.minor:I
3: aload 0
ldc "EMU8000"
putfield com.sun.media.sound.SF2Soundbank.targetEngine:Ljava/lang/String;
4: aload 0
ldc "untitled"
putfield com.sun.media.sound.SF2Soundbank.name:Ljava/lang/String;
5: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.romName:Ljava/lang/String;
6: aload 0
iconst_m1
putfield com.sun.media.sound.SF2Soundbank.romVersionMajor:I
7: aload 0
iconst_m1
putfield com.sun.media.sound.SF2Soundbank.romVersionMinor:I
8: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.creationDate:Ljava/lang/String;
9: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.engineers:Ljava/lang/String;
10: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.product:Ljava/lang/String;
11: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.copyright:Ljava/lang/String;
12: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.comments:Ljava/lang/String;
13: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.tools:Ljava/lang/String;
14: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.sampleData:Lcom/sun/media/sound/ModelByteBuffer;
15: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.sampleData24:Lcom/sun/media/sound/ModelByteBuffer;
16: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.sampleFile:Ljava/io/File;
17: aload 0
iconst_0
putfield com.sun.media.sound.SF2Soundbank.largeFormat:Z
18: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
19: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
20: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
21: aload 0
iconst_1
putfield com.sun.media.sound.SF2Soundbank.largeFormat:Z
22: aload 0
aload 1
putfield com.sun.media.sound.SF2Soundbank.sampleFile:Ljava/io/File;
23: new java.io.FileInputStream
dup
aload 1
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 2
start local 2 24: aload 0
aload 2
invokevirtual com.sun.media.sound.SF2Soundbank.readSoundbank:(Ljava/io/InputStream;)V
25: goto 29
StackMap locals: com.sun.media.sound.SF2Soundbank java.io.File java.io.InputStream
StackMap stack: java.lang.Throwable
26: astore 3
27: aload 2
invokevirtual java.io.InputStream.close:()V
28: aload 3
athrow
29: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.io.InputStream.close:()V
30: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lcom/sun/media/sound/SF2Soundbank;
0 31 1 file Ljava/io/File;
24 31 2 is Ljava/io/InputStream;
Exception table:
from to target type
24 26 26 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public void <init>(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_2
putfield com.sun.media.sound.SF2Soundbank.major:I
2: aload 0
iconst_1
putfield com.sun.media.sound.SF2Soundbank.minor:I
3: aload 0
ldc "EMU8000"
putfield com.sun.media.sound.SF2Soundbank.targetEngine:Ljava/lang/String;
4: aload 0
ldc "untitled"
putfield com.sun.media.sound.SF2Soundbank.name:Ljava/lang/String;
5: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.romName:Ljava/lang/String;
6: aload 0
iconst_m1
putfield com.sun.media.sound.SF2Soundbank.romVersionMajor:I
7: aload 0
iconst_m1
putfield com.sun.media.sound.SF2Soundbank.romVersionMinor:I
8: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.creationDate:Ljava/lang/String;
9: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.engineers:Ljava/lang/String;
10: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.product:Ljava/lang/String;
11: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.copyright:Ljava/lang/String;
12: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.comments:Ljava/lang/String;
13: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.tools:Ljava/lang/String;
14: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.sampleData:Lcom/sun/media/sound/ModelByteBuffer;
15: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.sampleData24:Lcom/sun/media/sound/ModelByteBuffer;
16: aload 0
aconst_null
putfield com.sun.media.sound.SF2Soundbank.sampleFile:Ljava/io/File;
17: aload 0
iconst_0
putfield com.sun.media.sound.SF2Soundbank.largeFormat:Z
18: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
19: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
20: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
21: aload 0
aload 1
invokevirtual com.sun.media.sound.SF2Soundbank.readSoundbank:(Ljava/io/InputStream;)V
22: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/media/sound/SF2Soundbank;
0 23 1 inputstream Ljava/io/InputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
inputstream
private void readSoundbank(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new com.sun.media.sound.RIFFReader
dup
aload 1
invokespecial com.sun.media.sound.RIFFReader.<init>:(Ljava/io/InputStream;)V
astore 2
start local 2 1: aload 2
invokevirtual com.sun.media.sound.RIFFReader.getFormat:()Ljava/lang/String;
ldc "RIFF"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
2: new com.sun.media.sound.RIFFInvalidFormatException
dup
3: ldc "Input stream is not a valid RIFF stream!"
4: invokespecial com.sun.media.sound.RIFFInvalidFormatException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: com.sun.media.sound.RIFFReader
StackMap stack:
aload 2
invokevirtual com.sun.media.sound.RIFFReader.getType:()Ljava/lang/String;
ldc "sfbk"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
6: new com.sun.media.sound.RIFFInvalidFormatException
dup
7: ldc "Input stream is not a valid SoundFont!"
8: invokespecial com.sun.media.sound.RIFFInvalidFormatException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.media.sound.RIFFReader.nextChunk:()Lcom/sun/media/sound/RIFFReader;
astore 3
start local 3 10: aload 3
invokevirtual com.sun.media.sound.RIFFReader.getFormat:()Ljava/lang/String;
ldc "LIST"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
11: aload 3
invokevirtual com.sun.media.sound.RIFFReader.getType:()Ljava/lang/String;
ldc "INFO"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
12: aload 0
aload 3
invokevirtual com.sun.media.sound.SF2Soundbank.readInfoChunk:(Lcom/sun/media/sound/RIFFReader;)V
13: StackMap locals: com.sun.media.sound.RIFFReader
StackMap stack:
aload 3
invokevirtual com.sun.media.sound.RIFFReader.getType:()Ljava/lang/String;
ldc "sdta"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
14: aload 0
aload 3
invokevirtual com.sun.media.sound.SF2Soundbank.readSdtaChunk:(Lcom/sun/media/sound/RIFFReader;)V
15: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.sun.media.sound.RIFFReader.getType:()Ljava/lang/String;
ldc "pdta"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
16: aload 0
aload 3
invokevirtual com.sun.media.sound.SF2Soundbank.readPdtaChunk:(Lcom/sun/media/sound/RIFFReader;)V
end local 3 17: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.media.sound.RIFFReader.hasNextChunk:()Z
ifne 9
18: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/media/sound/SF2Soundbank;
0 19 1 inputstream Ljava/io/InputStream;
1 19 2 riff Lcom/sun/media/sound/RIFFReader;
10 17 3 chunk Lcom/sun/media/sound/RIFFReader;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
inputstream
private void readInfoChunk(com.sun.media.sound.RIFFReader);
descriptor: (Lcom/sun/media/sound/RIFFReader;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: goto 37
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.media.sound.RIFFReader.nextChunk:()Lcom/sun/media/sound/RIFFReader;
astore 2
start local 2 2: aload 2
invokevirtual com.sun.media.sound.RIFFReader.getFormat:()Ljava/lang/String;
astore 3
start local 3 3: aload 3
ldc "ifil"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
4: aload 0
aload 2
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Soundbank.major:I
5: aload 0
aload 2
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Soundbank.minor:I
6: goto 37
StackMap locals: com.sun.media.sound.RIFFReader java.lang.String
StackMap stack:
7: aload 3
ldc "isng"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: aload 0
aload 2
aload 2
invokevirtual com.sun.media.sound.RIFFReader.available:()I
invokevirtual com.sun.media.sound.RIFFReader.readString:(I)Ljava/lang/String;
putfield com.sun.media.sound.SF2Soundbank.targetEngine:Ljava/lang/String;
9: goto 37
StackMap locals:
StackMap stack:
10: aload 3
ldc "INAM"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: aload 0
aload 2
aload 2
invokevirtual com.sun.media.sound.RIFFReader.available:()I
invokevirtual com.sun.media.sound.RIFFReader.readString:(I)Ljava/lang/String;
putfield com.sun.media.sound.SF2Soundbank.name:Ljava/lang/String;
12: goto 37
StackMap locals:
StackMap stack:
13: aload 3
ldc "irom"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
14: aload 0
aload 2
aload 2
invokevirtual com.sun.media.sound.RIFFReader.available:()I
invokevirtual com.sun.media.sound.RIFFReader.readString:(I)Ljava/lang/String;
putfield com.sun.media.sound.SF2Soundbank.romName:Ljava/lang/String;
15: goto 37
StackMap locals:
StackMap stack:
16: aload 3
ldc "iver"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
17: aload 0
aload 2
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Soundbank.romVersionMajor:I
18: aload 0
aload 2
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Soundbank.romVersionMinor:I
19: goto 37
StackMap locals:
StackMap stack:
20: aload 3
ldc "ICRD"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
21: aload 0
aload 2
aload 2
invokevirtual com.sun.media.sound.RIFFReader.available:()I
invokevirtual com.sun.media.sound.RIFFReader.readString:(I)Ljava/lang/String;
putfield com.sun.media.sound.SF2Soundbank.creationDate:Ljava/lang/String;
22: goto 37
StackMap locals:
StackMap stack:
23: aload 3
ldc "IENG"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
24: aload 0
aload 2
aload 2
invokevirtual com.sun.media.sound.RIFFReader.available:()I
invokevirtual com.sun.media.sound.RIFFReader.readString:(I)Ljava/lang/String;
putfield com.sun.media.sound.SF2Soundbank.engineers:Ljava/lang/String;
25: goto 37
StackMap locals:
StackMap stack:
26: aload 3
ldc "IPRD"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 29
27: aload 0
aload 2
aload 2
invokevirtual com.sun.media.sound.RIFFReader.available:()I
invokevirtual com.sun.media.sound.RIFFReader.readString:(I)Ljava/lang/String;
putfield com.sun.media.sound.SF2Soundbank.product:Ljava/lang/String;
28: goto 37
StackMap locals:
StackMap stack:
29: aload 3
ldc "ICOP"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
30: aload 0
aload 2
aload 2
invokevirtual com.sun.media.sound.RIFFReader.available:()I
invokevirtual com.sun.media.sound.RIFFReader.readString:(I)Ljava/lang/String;
putfield com.sun.media.sound.SF2Soundbank.copyright:Ljava/lang/String;
31: goto 37
StackMap locals:
StackMap stack:
32: aload 3
ldc "ICMT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
33: aload 0
aload 2
aload 2
invokevirtual com.sun.media.sound.RIFFReader.available:()I
invokevirtual com.sun.media.sound.RIFFReader.readString:(I)Ljava/lang/String;
putfield com.sun.media.sound.SF2Soundbank.comments:Ljava/lang/String;
34: goto 37
StackMap locals:
StackMap stack:
35: aload 3
ldc "ISFT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 37
36: aload 0
aload 2
aload 2
invokevirtual com.sun.media.sound.RIFFReader.available:()I
invokevirtual com.sun.media.sound.RIFFReader.readString:(I)Ljava/lang/String;
putfield com.sun.media.sound.SF2Soundbank.tools:Ljava/lang/String;
end local 3 end local 2 37: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.media.sound.RIFFReader.hasNextChunk:()Z
ifne 1
38: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lcom/sun/media/sound/SF2Soundbank;
0 39 1 riff Lcom/sun/media/sound/RIFFReader;
2 37 2 chunk Lcom/sun/media/sound/RIFFReader;
3 37 3 format Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
riff
private void readSdtaChunk(com.sun.media.sound.RIFFReader);
descriptor: (Lcom/sun/media/sound/RIFFReader;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=6, args_size=2
start local 0 start local 1 0: goto 38
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.media.sound.RIFFReader.nextChunk:()Lcom/sun/media/sound/RIFFReader;
astore 2
start local 2 2: aload 2
invokevirtual com.sun.media.sound.RIFFReader.getFormat:()Ljava/lang/String;
ldc "smpl"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
3: aload 0
getfield com.sun.media.sound.SF2Soundbank.largeFormat:Z
ifne 17
4: aload 2
invokevirtual com.sun.media.sound.RIFFReader.available:()I
newarray 8
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: aload 2
invokevirtual com.sun.media.sound.RIFFReader.available:()I
istore 5
start local 5 7: goto 14
8: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFReader com.sun.media.sound.RIFFReader byte[] int int
StackMap stack:
iload 5
iload 4
isub
ldc 65536
if_icmple 12
9: aload 2
aload 3
iload 4
ldc 65536
invokevirtual com.sun.media.sound.RIFFReader.readFully:([BII)V
10: iload 4
ldc 65536
iadd
istore 4
11: goto 14
12: StackMap locals:
StackMap stack:
aload 2
aload 3
iload 4
iload 5
iload 4
isub
invokevirtual com.sun.media.sound.RIFFReader.readFully:([BII)V
13: iload 5
istore 4
14: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmpne 8
15: aload 0
new com.sun.media.sound.ModelByteBuffer
dup
aload 3
invokespecial com.sun.media.sound.ModelByteBuffer.<init>:([B)V
putfield com.sun.media.sound.SF2Soundbank.sampleData:Lcom/sun/media/sound/ModelByteBuffer;
end local 5 end local 4 end local 3 16: goto 20
17: StackMap locals:
StackMap stack:
aload 0
new com.sun.media.sound.ModelByteBuffer
dup
aload 0
getfield com.sun.media.sound.SF2Soundbank.sampleFile:Ljava/io/File;
18: aload 2
invokevirtual com.sun.media.sound.RIFFReader.getFilePointer:()J
aload 2
invokevirtual com.sun.media.sound.RIFFReader.available:()I
i2l
invokespecial com.sun.media.sound.ModelByteBuffer.<init>:(Ljava/io/File;JJ)V
19: putfield com.sun.media.sound.SF2Soundbank.sampleData:Lcom/sun/media/sound/ModelByteBuffer;
20: StackMap locals:
StackMap stack:
aload 2
invokevirtual com.sun.media.sound.RIFFReader.getFormat:()Ljava/lang/String;
ldc "sm24"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 38
21: aload 0
getfield com.sun.media.sound.SF2Soundbank.largeFormat:Z
ifne 35
22: aload 2
invokevirtual com.sun.media.sound.RIFFReader.available:()I
newarray 8
astore 3
start local 3 23: iconst_0
istore 4
start local 4 24: aload 2
invokevirtual com.sun.media.sound.RIFFReader.available:()I
istore 5
start local 5 25: goto 32
26: StackMap locals: byte[] int int
StackMap stack:
iload 5
iload 4
isub
ldc 65536
if_icmple 30
27: aload 2
aload 3
iload 4
ldc 65536
invokevirtual com.sun.media.sound.RIFFReader.readFully:([BII)V
28: iload 4
ldc 65536
iadd
istore 4
29: goto 32
30: StackMap locals:
StackMap stack:
aload 2
aload 3
iload 4
iload 5
iload 4
isub
invokevirtual com.sun.media.sound.RIFFReader.readFully:([BII)V
31: iload 5
istore 4
32: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmpne 26
33: aload 0
new com.sun.media.sound.ModelByteBuffer
dup
aload 3
invokespecial com.sun.media.sound.ModelByteBuffer.<init>:([B)V
putfield com.sun.media.sound.SF2Soundbank.sampleData24:Lcom/sun/media/sound/ModelByteBuffer;
end local 5 end local 4 end local 3 34: goto 38
35: StackMap locals:
StackMap stack:
aload 0
new com.sun.media.sound.ModelByteBuffer
dup
aload 0
getfield com.sun.media.sound.SF2Soundbank.sampleFile:Ljava/io/File;
36: aload 2
invokevirtual com.sun.media.sound.RIFFReader.getFilePointer:()J
aload 2
invokevirtual com.sun.media.sound.RIFFReader.available:()I
i2l
invokespecial com.sun.media.sound.ModelByteBuffer.<init>:(Ljava/io/File;JJ)V
37: putfield com.sun.media.sound.SF2Soundbank.sampleData24:Lcom/sun/media/sound/ModelByteBuffer;
end local 2 38: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.media.sound.RIFFReader.hasNextChunk:()Z
ifne 1
39: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lcom/sun/media/sound/SF2Soundbank;
0 40 1 riff Lcom/sun/media/sound/RIFFReader;
2 38 2 chunk Lcom/sun/media/sound/RIFFReader;
5 16 3 sampleData [B
6 16 4 read I
7 16 5 avail I
23 34 3 sampleData24 [B
24 34 4 read I
25 34 5 avail I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
riff
private void readPdtaChunk(com.sun.media.sound.RIFFReader);
descriptor: (Lcom/sun/media/sound/RIFFReader;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=21, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
3: astore 4
start local 4 4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
5: astore 5
start local 5 6: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 8: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
9: astore 8
start local 8 10: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
11: astore 9
start local 9 12: goto 238
13: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFReader java.util.List java.util.List java.util.List java.util.List java.util.List java.util.List java.util.List java.util.List
StackMap stack:
aload 1
invokevirtual com.sun.media.sound.RIFFReader.nextChunk:()Lcom/sun/media/sound/RIFFReader;
astore 10
start local 10 14: aload 10
invokevirtual com.sun.media.sound.RIFFReader.getFormat:()Ljava/lang/String;
astore 11
start local 11 15: aload 11
ldc "phdr"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
16: aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
bipush 38
irem
ifeq 18
17: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
18: StackMap locals: com.sun.media.sound.RIFFReader java.lang.String
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
bipush 38
idiv
istore 12
start local 12 19: iconst_0
istore 13
start local 13 20: goto 33
21: StackMap locals: int int
StackMap stack:
new com.sun.media.sound.SF2Instrument
dup
aload 0
invokespecial com.sun.media.sound.SF2Instrument.<init>:(Lcom/sun/media/sound/SF2Soundbank;)V
astore 14
start local 14 22: aload 14
aload 10
bipush 20
invokevirtual com.sun.media.sound.RIFFReader.readString:(I)Ljava/lang/String;
putfield com.sun.media.sound.SF2Instrument.name:Ljava/lang/String;
23: aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Instrument.preset:I
24: aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Instrument.bank:I
25: aload 3
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
26: aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedInt:()J
putfield com.sun.media.sound.SF2Instrument.library:J
27: aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedInt:()J
putfield com.sun.media.sound.SF2Instrument.genre:J
28: aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedInt:()J
putfield com.sun.media.sound.SF2Instrument.morphology:J
29: aload 2
aload 14
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
30: iload 13
iload 12
iconst_1
isub
if_icmpeq 32
31: aload 0
getfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
aload 14
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 14 32: StackMap locals:
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
33: iload 13
iload 12
if_icmplt 21
end local 13 end local 12 34: goto 238
StackMap locals:
StackMap stack:
35: aload 11
ldc "pbag"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 90
36: aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
iconst_4
irem
ifeq 38
37: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
38: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
iconst_4
idiv
istore 12
start local 12 39: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 13
start local 13 40: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 14
start local 14 41: goto 43
42: StackMap locals: int int int
StackMap stack:
aload 4
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
43: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.List.size:()I
iload 13
if_icmplt 42
44: goto 46
45: StackMap locals:
StackMap stack:
aload 5
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
46: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.size:()I
iload 14
if_icmplt 45
47: iinc 12 -1
end local 14 end local 13 48: aload 3
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 13
start local 13 49: iconst_0
istore 14
start local 14 50: goto 63
51: StackMap locals:
StackMap stack:
iload 12
ifne 53
52: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
53: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 15
start local 15 54: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 16
start local 16 55: goto 57
56: StackMap locals: int int
StackMap stack:
aload 4
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
57: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.List.size:()I
iload 15
if_icmplt 56
58: goto 60
59: StackMap locals:
StackMap stack:
aload 5
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
60: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.size:()I
iload 16
if_icmplt 59
61: iinc 12 -1
end local 16 end local 15 62: iinc 14 1
StackMap locals:
StackMap stack:
63: iload 14
iload 13
if_icmplt 51
end local 14 64: iconst_0
istore 14
start local 14 65: goto 88
66: StackMap locals:
StackMap stack:
aload 3
iload 14
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
67: aload 3
iload 14
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
68: isub
istore 15
start local 15 69: aload 2
iload 14
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Instrument
astore 16
start local 16 70: iconst_0
istore 17
start local 17 71: goto 86
72: StackMap locals: int com.sun.media.sound.SF2Instrument int
StackMap stack:
iload 12
ifne 74
73: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
74: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 18
start local 18 75: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 19
start local 19 76: new com.sun.media.sound.SF2InstrumentRegion
dup
invokespecial com.sun.media.sound.SF2InstrumentRegion.<init>:()V
astore 20
start local 20 77: aload 16
getfield com.sun.media.sound.SF2Instrument.regions:Ljava/util/List;
aload 20
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
78: goto 80
79: StackMap locals: int int com.sun.media.sound.SF2InstrumentRegion
StackMap stack:
aload 4
aload 20
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
80: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.List.size:()I
iload 18
if_icmplt 79
81: goto 83
82: StackMap locals:
StackMap stack:
aload 5
aload 20
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
83: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.size:()I
iload 19
if_icmplt 82
84: iinc 12 -1
end local 20 end local 19 end local 18 85: iinc 17 1
StackMap locals:
StackMap stack:
86: iload 17
iload 15
if_icmplt 72
end local 17 end local 16 end local 15 87: iinc 14 1
StackMap locals:
StackMap stack:
88: iload 14
aload 3
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmplt 66
end local 14 end local 13 end local 12 89: goto 238
StackMap locals:
StackMap stack:
90: aload 11
ldc "pmod"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 105
91: iconst_0
istore 12
start local 12 92: goto 103
93: StackMap locals: int
StackMap stack:
new com.sun.media.sound.SF2Modulator
dup
invokespecial com.sun.media.sound.SF2Modulator.<init>:()V
astore 13
start local 13 94: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.sourceOperator:I
95: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.destinationOperator:I
96: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readShort:()S
putfield com.sun.media.sound.SF2Modulator.amount:S
97: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.amountSourceOperator:I
98: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.transportOperator:I
99: aload 5
iload 12
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.media.sound.SF2InstrumentRegion
astore 14
start local 14 100: aload 14
ifnull 102
101: aload 14
getfield com.sun.media.sound.SF2InstrumentRegion.modulators:Ljava/util/List;
aload 13
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 14 end local 13 102: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
103: iload 12
aload 5
invokeinterface java.util.List.size:()I
if_icmplt 93
end local 12 104: goto 238
StackMap locals:
StackMap stack:
105: aload 11
ldc "pgen"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 116
106: iconst_0
istore 12
start local 12 107: goto 114
108: StackMap locals: int
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 13
start local 13 109: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readShort:()S
istore 14
start local 14 110: aload 4
iload 12
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.media.sound.SF2InstrumentRegion
astore 15
start local 15 111: aload 15
ifnull 113
112: aload 15
getfield com.sun.media.sound.SF2InstrumentRegion.generators:Ljava/util/Map;
iload 13
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 14
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 15 end local 14 end local 13 113: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
114: iload 12
aload 4
invokeinterface java.util.List.size:()I
if_icmplt 108
end local 12 115: goto 238
StackMap locals:
StackMap stack:
116: aload 11
ldc "inst"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 131
117: aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
bipush 22
irem
ifeq 119
118: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
119: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
bipush 22
idiv
istore 12
start local 12 120: iconst_0
istore 13
start local 13 121: goto 129
122: StackMap locals: int int
StackMap stack:
new com.sun.media.sound.SF2Layer
dup
aload 0
invokespecial com.sun.media.sound.SF2Layer.<init>:(Lcom/sun/media/sound/SF2Soundbank;)V
astore 14
start local 14 123: aload 14
aload 10
bipush 20
invokevirtual com.sun.media.sound.RIFFReader.readString:(I)Ljava/lang/String;
putfield com.sun.media.sound.SF2Layer.name:Ljava/lang/String;
124: aload 7
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
125: aload 6
aload 14
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
126: iload 13
iload 12
iconst_1
isub
if_icmpeq 128
127: aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
aload 14
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 14 128: StackMap locals:
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
129: iload 13
iload 12
if_icmplt 122
end local 13 end local 12 130: goto 238
StackMap locals:
StackMap stack:
131: aload 11
ldc "ibag"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 184
132: aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
iconst_4
irem
ifeq 134
133: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
134: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
iconst_4
idiv
istore 12
start local 12 135: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 13
start local 13 136: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 14
start local 14 137: goto 139
138: StackMap locals: int int int
StackMap stack:
aload 8
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
139: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.List.size:()I
iload 13
if_icmplt 138
140: goto 142
141: StackMap locals:
StackMap stack:
aload 9
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
142: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.List.size:()I
iload 14
if_icmplt 141
143: iinc 12 -1
end local 14 end local 13 144: aload 7
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 13
start local 13 145: iconst_0
istore 14
start local 14 146: goto 159
147: StackMap locals:
StackMap stack:
iload 12
ifne 149
148: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
149: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 15
start local 15 150: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 16
start local 16 151: goto 153
152: StackMap locals: int int
StackMap stack:
aload 8
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
153: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.List.size:()I
iload 15
if_icmplt 152
154: goto 156
155: StackMap locals:
StackMap stack:
aload 9
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
156: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.List.size:()I
iload 16
if_icmplt 155
157: iinc 12 -1
end local 16 end local 15 158: iinc 14 1
StackMap locals:
StackMap stack:
159: iload 14
iload 13
if_icmplt 147
end local 14 160: iconst_0
istore 14
start local 14 161: goto 182
162: StackMap locals:
StackMap stack:
aload 7
iload 14
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
aload 7
iload 14
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
isub
istore 15
start local 15 163: aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
iload 14
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Layer
astore 16
start local 16 164: iconst_0
istore 17
start local 17 165: goto 180
166: StackMap locals: int com.sun.media.sound.SF2Layer int
StackMap stack:
iload 12
ifne 168
167: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
168: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 18
start local 18 169: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 19
start local 19 170: new com.sun.media.sound.SF2LayerRegion
dup
invokespecial com.sun.media.sound.SF2LayerRegion.<init>:()V
astore 20
start local 20 171: aload 16
getfield com.sun.media.sound.SF2Layer.regions:Ljava/util/List;
aload 20
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
172: goto 174
173: StackMap locals: int int com.sun.media.sound.SF2LayerRegion
StackMap stack:
aload 8
aload 20
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
174: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.List.size:()I
iload 18
if_icmplt 173
175: goto 177
176: StackMap locals:
StackMap stack:
aload 9
aload 20
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
177: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.List.size:()I
iload 19
if_icmplt 176
178: iinc 12 -1
end local 20 end local 19 end local 18 179: iinc 17 1
StackMap locals:
StackMap stack:
180: iload 17
iload 15
if_icmplt 166
end local 17 end local 16 end local 15 181: iinc 14 1
StackMap locals:
StackMap stack:
182: iload 14
aload 7
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmplt 162
end local 14 end local 13 end local 12 183: goto 238
StackMap locals:
StackMap stack:
184: aload 11
ldc "imod"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 199
185: iconst_0
istore 12
start local 12 186: goto 197
187: StackMap locals: int
StackMap stack:
new com.sun.media.sound.SF2Modulator
dup
invokespecial com.sun.media.sound.SF2Modulator.<init>:()V
astore 13
start local 13 188: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.sourceOperator:I
189: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.destinationOperator:I
190: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readShort:()S
putfield com.sun.media.sound.SF2Modulator.amount:S
191: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.amountSourceOperator:I
192: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.transportOperator:I
193: aload 8
iload 12
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.media.sound.SF2LayerRegion
astore 14
start local 14 194: aload 14
ifnull 196
195: aload 14
getfield com.sun.media.sound.SF2LayerRegion.modulators:Ljava/util/List;
aload 13
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 14 end local 13 196: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
197: iload 12
aload 9
invokeinterface java.util.List.size:()I
if_icmplt 187
end local 12 198: goto 238
StackMap locals:
StackMap stack:
199: aload 11
ldc "igen"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 210
200: iconst_0
istore 12
start local 12 201: goto 208
202: StackMap locals: int
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 13
start local 13 203: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readShort:()S
istore 14
start local 14 204: aload 8
iload 12
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.media.sound.SF2LayerRegion
astore 15
start local 15 205: aload 15
ifnull 207
206: aload 15
getfield com.sun.media.sound.SF2LayerRegion.generators:Ljava/util/Map;
iload 13
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 14
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 15 end local 14 end local 13 207: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
208: iload 12
aload 8
invokeinterface java.util.List.size:()I
if_icmplt 202
end local 12 209: goto 238
StackMap locals:
StackMap stack:
210: aload 11
ldc "shdr"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 238
211: aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
bipush 46
irem
ifeq 213
212: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
213: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
bipush 46
idiv
istore 12
start local 12 214: iconst_0
istore 13
start local 13 215: goto 237
216: StackMap locals: int int
StackMap stack:
new com.sun.media.sound.SF2Sample
dup
aload 0
invokespecial com.sun.media.sound.SF2Sample.<init>:(Ljavax/sound/midi/Soundbank;)V
astore 14
start local 14 217: aload 14
aload 10
bipush 20
invokevirtual com.sun.media.sound.RIFFReader.readString:(I)Ljava/lang/String;
putfield com.sun.media.sound.SF2Sample.name:Ljava/lang/String;
218: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedInt:()J
lstore 15
start local 15 219: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedInt:()J
lstore 17
start local 17 220: aload 14
aload 0
getfield com.sun.media.sound.SF2Soundbank.sampleData:Lcom/sun/media/sound/ModelByteBuffer;
lload 15
ldc 2
lmul
lload 17
ldc 2
lmul
iconst_1
invokevirtual com.sun.media.sound.ModelByteBuffer.subbuffer:(JJZ)Lcom/sun/media/sound/ModelByteBuffer;
putfield com.sun.media.sound.SF2Sample.data:Lcom/sun/media/sound/ModelByteBuffer;
221: aload 0
getfield com.sun.media.sound.SF2Soundbank.sampleData24:Lcom/sun/media/sound/ModelByteBuffer;
ifnull 223
222: aload 14
aload 0
getfield com.sun.media.sound.SF2Soundbank.sampleData24:Lcom/sun/media/sound/ModelByteBuffer;
lload 15
lload 17
iconst_1
invokevirtual com.sun.media.sound.ModelByteBuffer.subbuffer:(JJZ)Lcom/sun/media/sound/ModelByteBuffer;
putfield com.sun.media.sound.SF2Sample.data24:Lcom/sun/media/sound/ModelByteBuffer;
223: StackMap locals: com.sun.media.sound.SF2Sample long long
StackMap stack:
aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedInt:()J
lload 15
lsub
putfield com.sun.media.sound.SF2Sample.startLoop:J
224: aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedInt:()J
lload 15
lsub
putfield com.sun.media.sound.SF2Sample.endLoop:J
225: aload 14
getfield com.sun.media.sound.SF2Sample.startLoop:J
lconst_0
lcmp
ifge 227
226: aload 14
ldc -1
putfield com.sun.media.sound.SF2Sample.startLoop:J
227: StackMap locals:
StackMap stack:
aload 14
getfield com.sun.media.sound.SF2Sample.endLoop:J
lconst_0
lcmp
ifge 229
228: aload 14
ldc -1
putfield com.sun.media.sound.SF2Sample.endLoop:J
229: StackMap locals:
StackMap stack:
aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedInt:()J
putfield com.sun.media.sound.SF2Sample.sampleRate:J
230: aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedByte:()I
putfield com.sun.media.sound.SF2Sample.originalPitch:I
231: aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readByte:()B
putfield com.sun.media.sound.SF2Sample.pitchCorrection:B
232: aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Sample.sampleLink:I
233: aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Sample.sampleType:I
234: iload 13
iload 12
iconst_1
isub
if_icmpeq 236
235: aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
aload 14
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 17 end local 15 end local 14 236: StackMap locals:
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
237: iload 13
iload 12
if_icmplt 216
end local 13 end local 12 end local 11 end local 10 238: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFReader java.util.List java.util.List java.util.List java.util.List java.util.List java.util.List java.util.List java.util.List
StackMap stack:
aload 1
invokevirtual com.sun.media.sound.RIFFReader.hasNextChunk:()Z
ifne 13
239: aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
start local 10 240: goto 261
241: StackMap locals: java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Layer
astore 11
start local 11 242: aload 11
getfield com.sun.media.sound.SF2Layer.regions:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 12
start local 12 243: aconst_null
astore 13
start local 13 244: goto 254
245: StackMap locals: com.sun.media.sound.SF2Layer java.util.Iterator com.sun.media.sound.SF2Region
StackMap stack:
aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2LayerRegion
astore 14
start local 14 246: aload 14
getfield com.sun.media.sound.SF2LayerRegion.generators:Ljava/util/Map;
bipush 53
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 253
247: aload 14
getfield com.sun.media.sound.SF2LayerRegion.generators:Ljava/util/Map;
248: bipush 53
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
249: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Short
invokevirtual java.lang.Short.shortValue:()S
istore 15
start local 15 250: aload 14
getfield com.sun.media.sound.SF2LayerRegion.generators:Ljava/util/Map;
bipush 53
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
251: aload 14
aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
iload 15
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Sample
putfield com.sun.media.sound.SF2LayerRegion.sample:Lcom/sun/media/sound/SF2Sample;
end local 15 252: goto 254
253: StackMap locals: com.sun.media.sound.SF2LayerRegion
StackMap stack:
aload 14
astore 13
end local 14 254: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 245
255: aload 13
ifnull 261
256: aload 11
invokevirtual com.sun.media.sound.SF2Layer.getRegions:()Ljava/util/List;
aload 13
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
257: new com.sun.media.sound.SF2GlobalRegion
dup
invokespecial com.sun.media.sound.SF2GlobalRegion.<init>:()V
astore 14
start local 14 258: aload 14
aload 13
getfield com.sun.media.sound.SF2Region.generators:Ljava/util/Map;
putfield com.sun.media.sound.SF2GlobalRegion.generators:Ljava/util/Map;
259: aload 14
aload 13
getfield com.sun.media.sound.SF2Region.modulators:Ljava/util/List;
putfield com.sun.media.sound.SF2GlobalRegion.modulators:Ljava/util/List;
260: aload 11
aload 14
invokevirtual com.sun.media.sound.SF2Layer.setGlobalZone:(Lcom/sun/media/sound/SF2GlobalRegion;)V
end local 14 end local 13 end local 12 end local 11 261: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 241
262: aload 0
getfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
start local 11 263: goto 284
264: StackMap locals: java.util.Iterator
StackMap stack:
aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Instrument
astore 12
start local 12 265: aload 12
getfield com.sun.media.sound.SF2Instrument.regions:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 13
start local 13 266: aconst_null
astore 14
start local 14 267: goto 277
268: StackMap locals: com.sun.media.sound.SF2Instrument java.util.Iterator com.sun.media.sound.SF2Region
StackMap stack:
aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2InstrumentRegion
astore 15
start local 15 269: aload 15
getfield com.sun.media.sound.SF2InstrumentRegion.generators:Ljava/util/Map;
bipush 41
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 276
270: aload 15
getfield com.sun.media.sound.SF2InstrumentRegion.generators:Ljava/util/Map;
271: bipush 41
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
272: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Short
invokevirtual java.lang.Short.shortValue:()S
istore 16
start local 16 273: aload 15
getfield com.sun.media.sound.SF2InstrumentRegion.generators:Ljava/util/Map;
bipush 41
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
274: aload 15
aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
iload 16
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Layer
putfield com.sun.media.sound.SF2InstrumentRegion.layer:Lcom/sun/media/sound/SF2Layer;
end local 16 275: goto 277
276: StackMap locals: com.sun.media.sound.SF2InstrumentRegion
StackMap stack:
aload 15
astore 14
end local 15 277: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 268
278: aload 14
ifnull 284
279: aload 12
invokevirtual com.sun.media.sound.SF2Instrument.getRegions:()Ljava/util/List;
aload 14
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
280: new com.sun.media.sound.SF2GlobalRegion
dup
invokespecial com.sun.media.sound.SF2GlobalRegion.<init>:()V
astore 15
start local 15 281: aload 15
aload 14
getfield com.sun.media.sound.SF2Region.generators:Ljava/util/Map;
putfield com.sun.media.sound.SF2GlobalRegion.generators:Ljava/util/Map;
282: aload 15
aload 14
getfield com.sun.media.sound.SF2Region.modulators:Ljava/util/List;
putfield com.sun.media.sound.SF2GlobalRegion.modulators:Ljava/util/List;
283: aload 12
aload 15
invokevirtual com.sun.media.sound.SF2Instrument.setGlobalZone:(Lcom/sun/media/sound/SF2GlobalRegion;)V
end local 15 end local 14 end local 13 end local 12 284: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 264
285: return
end local 11 end local 10 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 286 0 this Lcom/sun/media/sound/SF2Soundbank;
0 286 1 riff Lcom/sun/media/sound/RIFFReader;
1 286 2 presets Ljava/util/List<Lcom/sun/media/sound/SF2Instrument;>;
2 286 3 presets_bagNdx Ljava/util/List<Ljava/lang/Integer;>;
4 286 4 presets_splits_gen Ljava/util/List<Lcom/sun/media/sound/SF2InstrumentRegion;>;
6 286 5 presets_splits_mod Ljava/util/List<Lcom/sun/media/sound/SF2InstrumentRegion;>;
7 286 6 instruments Ljava/util/List<Lcom/sun/media/sound/SF2Layer;>;
8 286 7 instruments_bagNdx Ljava/util/List<Ljava/lang/Integer;>;
10 286 8 instruments_splits_gen Ljava/util/List<Lcom/sun/media/sound/SF2LayerRegion;>;
12 286 9 instruments_splits_mod Ljava/util/List<Lcom/sun/media/sound/SF2LayerRegion;>;
14 238 10 chunk Lcom/sun/media/sound/RIFFReader;
15 238 11 format Ljava/lang/String;
19 34 12 count I
20 34 13 i I
22 32 14 preset Lcom/sun/media/sound/SF2Instrument;
39 89 12 count I
40 48 13 gencount I
41 48 14 modcount I
49 89 13 offset I
50 64 14 i I
54 62 15 gencount I
55 62 16 modcount I
65 89 14 i I
69 87 15 zone_count I
70 87 16 preset Lcom/sun/media/sound/SF2Instrument;
71 87 17 ii I
75 85 18 gencount I
76 85 19 modcount I
77 85 20 split Lcom/sun/media/sound/SF2InstrumentRegion;
92 104 12 i I
94 102 13 modulator Lcom/sun/media/sound/SF2Modulator;
100 102 14 split Lcom/sun/media/sound/SF2InstrumentRegion;
107 115 12 i I
109 113 13 operator I
110 113 14 amount S
111 113 15 split Lcom/sun/media/sound/SF2InstrumentRegion;
120 130 12 count I
121 130 13 i I
123 128 14 layer Lcom/sun/media/sound/SF2Layer;
135 183 12 count I
136 144 13 gencount I
137 144 14 modcount I
145 183 13 offset I
146 160 14 i I
150 158 15 gencount I
151 158 16 modcount I
161 183 14 i I
163 181 15 zone_count I
164 181 16 layer Lcom/sun/media/sound/SF2Layer;
165 181 17 ii I
169 179 18 gencount I
170 179 19 modcount I
171 179 20 split Lcom/sun/media/sound/SF2LayerRegion;
186 198 12 i I
188 196 13 modulator Lcom/sun/media/sound/SF2Modulator;
194 196 14 split Lcom/sun/media/sound/SF2LayerRegion;
201 209 12 i I
203 207 13 operator I
204 207 14 amount S
205 207 15 split Lcom/sun/media/sound/SF2LayerRegion;
214 238 12 count I
215 238 13 i I
217 236 14 sample Lcom/sun/media/sound/SF2Sample;
219 236 15 start J
220 236 17 end J
240 286 10 liter Ljava/util/Iterator<Lcom/sun/media/sound/SF2Layer;>;
242 261 11 layer Lcom/sun/media/sound/SF2Layer;
243 261 12 siter Ljava/util/Iterator<Lcom/sun/media/sound/SF2LayerRegion;>;
244 261 13 globalsplit Lcom/sun/media/sound/SF2Region;
246 254 14 split Lcom/sun/media/sound/SF2LayerRegion;
250 252 15 sampleid I
258 261 14 gsplit Lcom/sun/media/sound/SF2GlobalRegion;
263 286 11 iiter Ljava/util/Iterator<Lcom/sun/media/sound/SF2Instrument;>;
265 284 12 instrument Lcom/sun/media/sound/SF2Instrument;
266 284 13 siter Ljava/util/Iterator<Lcom/sun/media/sound/SF2InstrumentRegion;>;
267 284 14 globalsplit Lcom/sun/media/sound/SF2Region;
269 277 15 split Lcom/sun/media/sound/SF2InstrumentRegion;
273 275 16 instrumentid I
281 284 15 gsplit Lcom/sun/media/sound/SF2GlobalRegion;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
riff
public void save(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new com.sun.media.sound.RIFFWriter
dup
aload 1
ldc "sfbk"
invokespecial com.sun.media.sound.RIFFWriter.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual com.sun.media.sound.SF2Soundbank.writeSoundbank:(Lcom/sun/media/sound/RIFFWriter;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Soundbank;
0 2 1 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public void save(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new com.sun.media.sound.RIFFWriter
dup
aload 1
ldc "sfbk"
invokespecial com.sun.media.sound.RIFFWriter.<init>:(Ljava/io/File;Ljava/lang/String;)V
invokevirtual com.sun.media.sound.SF2Soundbank.writeSoundbank:(Lcom/sun/media/sound/RIFFWriter;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Soundbank;
0 2 1 file Ljava/io/File;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
file
public void save(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new com.sun.media.sound.RIFFWriter
dup
aload 1
ldc "sfbk"
invokespecial com.sun.media.sound.RIFFWriter.<init>:(Ljava/io/OutputStream;Ljava/lang/String;)V
invokevirtual com.sun.media.sound.SF2Soundbank.writeSoundbank:(Lcom/sun/media/sound/RIFFWriter;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Soundbank;
0 2 1 out Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
private void writeSoundbank(com.sun.media.sound.RIFFWriter);
descriptor: (Lcom/sun/media/sound/RIFFWriter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "INFO"
invokevirtual com.sun.media.sound.RIFFWriter.writeList:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
invokevirtual com.sun.media.sound.SF2Soundbank.writeInfo:(Lcom/sun/media/sound/RIFFWriter;)V
1: aload 0
aload 1
ldc "sdta"
invokevirtual com.sun.media.sound.RIFFWriter.writeList:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
invokevirtual com.sun.media.sound.SF2Soundbank.writeSdtaChunk:(Lcom/sun/media/sound/RIFFWriter;)V
2: aload 0
aload 1
ldc "pdta"
invokevirtual com.sun.media.sound.RIFFWriter.writeList:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
invokevirtual com.sun.media.sound.SF2Soundbank.writePdtaChunk:(Lcom/sun/media/sound/RIFFWriter;)V
3: aload 1
invokevirtual com.sun.media.sound.RIFFWriter.close:()V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/SF2Soundbank;
0 5 1 writer Lcom/sun/media/sound/RIFFWriter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
writer
private void writeInfoStringChunk(com.sun.media.sound.RIFFWriter, java.lang.String, java.lang.String);
descriptor: (Lcom/sun/media/sound/RIFFWriter;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 4
start local 4 3: aload 4
aload 3
invokevirtual com.sun.media.sound.RIFFWriter.writeString:(Ljava/lang/String;)V
4: aload 3
ldc "ascii"
invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
arraylength
istore 5
start local 5 5: aload 4
iconst_0
invokevirtual com.sun.media.sound.RIFFWriter.write:(I)V
6: iinc 5 1
7: iload 5
iconst_2
irem
ifeq 9
8: aload 4
iconst_0
invokevirtual com.sun.media.sound.RIFFWriter.write:(I)V
9: StackMap locals: com.sun.media.sound.RIFFWriter int
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 10 0 this Lcom/sun/media/sound/SF2Soundbank;
0 10 1 writer Lcom/sun/media/sound/RIFFWriter;
0 10 2 name Ljava/lang/String;
0 10 3 value Ljava/lang/String;
3 10 4 chunk Lcom/sun/media/sound/RIFFWriter;
5 10 5 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
writer
name
value
private void writeInfo(com.sun.media.sound.RIFFWriter);
descriptor: (Lcom/sun/media/sound/RIFFWriter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.targetEngine:Ljava/lang/String;
ifnonnull 2
1: aload 0
ldc "EMU8000"
putfield com.sun.media.sound.SF2Soundbank.targetEngine:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SF2Soundbank.name:Ljava/lang/String;
ifnonnull 4
3: aload 0
ldc ""
putfield com.sun.media.sound.SF2Soundbank.name:Ljava/lang/String;
4: StackMap locals:
StackMap stack:
aload 1
ldc "ifil"
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 2
start local 2 5: aload 2
aload 0
getfield com.sun.media.sound.SF2Soundbank.major:I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
6: aload 2
aload 0
getfield com.sun.media.sound.SF2Soundbank.minor:I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
7: aload 0
aload 1
ldc "isng"
aload 0
getfield com.sun.media.sound.SF2Soundbank.targetEngine:Ljava/lang/String;
invokevirtual com.sun.media.sound.SF2Soundbank.writeInfoStringChunk:(Lcom/sun/media/sound/RIFFWriter;Ljava/lang/String;Ljava/lang/String;)V
8: aload 0
aload 1
ldc "INAM"
aload 0
getfield com.sun.media.sound.SF2Soundbank.name:Ljava/lang/String;
invokevirtual com.sun.media.sound.SF2Soundbank.writeInfoStringChunk:(Lcom/sun/media/sound/RIFFWriter;Ljava/lang/String;Ljava/lang/String;)V
9: aload 0
aload 1
ldc "irom"
aload 0
getfield com.sun.media.sound.SF2Soundbank.romName:Ljava/lang/String;
invokevirtual com.sun.media.sound.SF2Soundbank.writeInfoStringChunk:(Lcom/sun/media/sound/RIFFWriter;Ljava/lang/String;Ljava/lang/String;)V
10: aload 0
getfield com.sun.media.sound.SF2Soundbank.romVersionMajor:I
iconst_m1
if_icmpeq 14
11: aload 1
ldc "iver"
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 3
start local 3 12: aload 3
aload 0
getfield com.sun.media.sound.SF2Soundbank.romVersionMajor:I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
13: aload 3
aload 0
getfield com.sun.media.sound.SF2Soundbank.romVersionMinor:I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
end local 3 14: StackMap locals: com.sun.media.sound.RIFFWriter
StackMap stack:
aload 0
aload 1
ldc "ICRD"
aload 0
getfield com.sun.media.sound.SF2Soundbank.creationDate:Ljava/lang/String;
invokevirtual com.sun.media.sound.SF2Soundbank.writeInfoStringChunk:(Lcom/sun/media/sound/RIFFWriter;Ljava/lang/String;Ljava/lang/String;)V
15: aload 0
aload 1
ldc "IENG"
aload 0
getfield com.sun.media.sound.SF2Soundbank.engineers:Ljava/lang/String;
invokevirtual com.sun.media.sound.SF2Soundbank.writeInfoStringChunk:(Lcom/sun/media/sound/RIFFWriter;Ljava/lang/String;Ljava/lang/String;)V
16: aload 0
aload 1
ldc "IPRD"
aload 0
getfield com.sun.media.sound.SF2Soundbank.product:Ljava/lang/String;
invokevirtual com.sun.media.sound.SF2Soundbank.writeInfoStringChunk:(Lcom/sun/media/sound/RIFFWriter;Ljava/lang/String;Ljava/lang/String;)V
17: aload 0
aload 1
ldc "ICOP"
aload 0
getfield com.sun.media.sound.SF2Soundbank.copyright:Ljava/lang/String;
invokevirtual com.sun.media.sound.SF2Soundbank.writeInfoStringChunk:(Lcom/sun/media/sound/RIFFWriter;Ljava/lang/String;Ljava/lang/String;)V
18: aload 0
aload 1
ldc "ICMT"
aload 0
getfield com.sun.media.sound.SF2Soundbank.comments:Ljava/lang/String;
invokevirtual com.sun.media.sound.SF2Soundbank.writeInfoStringChunk:(Lcom/sun/media/sound/RIFFWriter;Ljava/lang/String;Ljava/lang/String;)V
19: aload 0
aload 1
ldc "ISFT"
aload 0
getfield com.sun.media.sound.SF2Soundbank.tools:Ljava/lang/String;
invokevirtual com.sun.media.sound.SF2Soundbank.writeInfoStringChunk:(Lcom/sun/media/sound/RIFFWriter;Ljava/lang/String;Ljava/lang/String;)V
20: aload 1
invokevirtual com.sun.media.sound.RIFFWriter.close:()V
21: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/media/sound/SF2Soundbank;
0 22 1 writer Lcom/sun/media/sound/RIFFWriter;
5 22 2 ifil_chunk Lcom/sun/media/sound/RIFFWriter;
12 14 3 iver_chunk Lcom/sun/media/sound/RIFFWriter;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
writer
private void writeSdtaChunk(com.sun.media.sound.RIFFWriter);
descriptor: (Lcom/sun/media/sound/RIFFWriter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: bipush 32
newarray 8
astore 2
start local 2 1: aload 1
ldc "smpl"
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 3
start local 3 2: aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter byte[] com.sun.media.sound.RIFFWriter top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Sample
astore 4
start local 4 4: aload 4
invokevirtual com.sun.media.sound.SF2Sample.getDataBuffer:()Lcom/sun/media/sound/ModelByteBuffer;
astore 6
start local 6 5: aload 6
aload 3
invokevirtual com.sun.media.sound.ModelByteBuffer.writeTo:(Ljava/io/OutputStream;)V
6: aload 3
aload 2
invokevirtual com.sun.media.sound.RIFFWriter.write:([B)V
7: aload 3
aload 2
invokevirtual com.sun.media.sound.RIFFWriter.write:([B)V
end local 6 end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: aload 0
getfield com.sun.media.sound.SF2Soundbank.major:I
iconst_2
if_icmpge 11
10: return
11: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter byte[] com.sun.media.sound.RIFFWriter
StackMap stack:
aload 0
getfield com.sun.media.sound.SF2Soundbank.major:I
iconst_2
if_icmpne 13
aload 0
getfield com.sun.media.sound.SF2Soundbank.minor:I
iconst_4
if_icmpge 13
12: return
13: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 18
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter byte[] com.sun.media.sound.RIFFWriter top java.util.Iterator
StackMap stack:
14: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Sample
astore 4
start local 4 15: aload 4
invokevirtual com.sun.media.sound.SF2Sample.getData24Buffer:()Lcom/sun/media/sound/ModelByteBuffer;
astore 6
start local 6 16: aload 6
ifnonnull 18
17: return
end local 6 end local 4 18: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
19: aload 1
ldc "sm24"
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 4
start local 4 20: aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 25
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter byte[] com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter top java.util.Iterator
StackMap stack:
21: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Sample
astore 5
start local 5 22: aload 5
invokevirtual com.sun.media.sound.SF2Sample.getData24Buffer:()Lcom/sun/media/sound/ModelByteBuffer;
astore 7
start local 7 23: aload 7
aload 4
invokevirtual com.sun.media.sound.ModelByteBuffer.writeTo:(Ljava/io/OutputStream;)V
24: aload 3
aload 2
invokevirtual com.sun.media.sound.RIFFWriter.write:([B)V
end local 7 end local 5 25: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 21
26: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/media/sound/SF2Soundbank;
0 27 1 writer Lcom/sun/media/sound/RIFFWriter;
1 27 2 pad [B
2 27 3 smpl_chunk Lcom/sun/media/sound/RIFFWriter;
4 8 4 sample Lcom/sun/media/sound/SF2Sample;
5 8 6 data Lcom/sun/media/sound/ModelByteBuffer;
15 18 4 sample Lcom/sun/media/sound/SF2Sample;
16 18 6 data24 Lcom/sun/media/sound/ModelByteBuffer;
20 27 4 sm24_chunk Lcom/sun/media/sound/RIFFWriter;
22 25 5 sample Lcom/sun/media/sound/SF2Sample;
23 25 7 data Lcom/sun/media/sound/ModelByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
writer
private void writeModulators(com.sun.media.sound.RIFFWriter, java.util.List<com.sun.media.sound.SF2Modulator>);
descriptor: (Lcom/sun/media/sound/RIFFWriter;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter java.util.List top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Modulator
astore 3
start local 3 2: aload 1
aload 3
getfield com.sun.media.sound.SF2Modulator.sourceOperator:I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
3: aload 1
aload 3
getfield com.sun.media.sound.SF2Modulator.destinationOperator:I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
4: aload 1
aload 3
getfield com.sun.media.sound.SF2Modulator.amount:S
invokevirtual com.sun.media.sound.RIFFWriter.writeShort:(S)V
5: aload 1
aload 3
getfield com.sun.media.sound.SF2Modulator.amountSourceOperator:I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
6: aload 1
aload 3
getfield com.sun.media.sound.SF2Modulator.transportOperator:I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/media/sound/SF2Soundbank;
0 9 1 writer Lcom/sun/media/sound/RIFFWriter;
0 9 2 modulators Ljava/util/List<Lcom/sun/media/sound/SF2Modulator;>;
2 7 3 modulator Lcom/sun/media/sound/SF2Modulator;
Exceptions:
throws java.io.IOException
Signature: (Lcom/sun/media/sound/RIFFWriter;Ljava/util/List<Lcom/sun/media/sound/SF2Modulator;>;)V
MethodParameters:
Name Flags
writer
modulators
private void writeGenerators(com.sun.media.sound.RIFFWriter, java.util.Map<java.lang.Integer, java.lang.Short>);
descriptor: (Lcom/sun/media/sound/RIFFWriter;Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
bipush 43
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Short
astore 3
start local 3 1: aload 2
bipush 44
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Short
astore 4
start local 4 2: aload 3
ifnull 5
3: aload 1
bipush 43
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
4: aload 1
aload 3
invokevirtual java.lang.Short.shortValue:()S
invokevirtual com.sun.media.sound.RIFFWriter.writeShort:(S)V
5: StackMap locals: java.lang.Short java.lang.Short
StackMap stack:
aload 4
ifnull 8
6: aload 1
bipush 44
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
7: aload 1
aload 4
invokevirtual java.lang.Short.shortValue:()S
invokevirtual com.sun.media.sound.RIFFWriter.writeShort:(S)V
8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 16
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter java.util.Map java.lang.Short java.lang.Short top java.util.Iterator
StackMap stack:
9: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 5
start local 5 10: aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
bipush 43
if_icmpne 12
11: goto 16
12: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter java.util.Map java.lang.Short java.lang.Short java.util.Map$Entry java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
bipush 44
if_icmpne 14
13: goto 16
14: StackMap locals:
StackMap stack:
aload 1
aload 5
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
15: aload 1
aload 5
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Short
invokevirtual java.lang.Short.shortValue:()S
invokevirtual com.sun.media.sound.RIFFWriter.writeShort:(S)V
end local 5 16: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter java.util.Map java.lang.Short java.lang.Short top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
17: return
end local 4 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/SF2Soundbank;
0 18 1 writer Lcom/sun/media/sound/RIFFWriter;
0 18 2 generators Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/Short;>;
1 18 3 keyrange Ljava/lang/Short;
2 18 4 velrange Ljava/lang/Short;
10 16 5 generator Ljava/util/Map$Entry<Ljava/lang/Integer;Ljava/lang/Short;>;
Exceptions:
throws java.io.IOException
Signature: (Lcom/sun/media/sound/RIFFWriter;Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/Short;>;)V
MethodParameters:
Name Flags
writer
generators
private void writePdtaChunk(com.sun.media.sound.RIFFWriter);
descriptor: (Lcom/sun/media/sound/RIFFWriter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=29, args_size=2
start local 0 start local 1 0: aload 1
ldc "phdr"
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 0
getfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 14
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int top java.util.Iterator
StackMap stack:
3: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Instrument
astore 4
start local 4 4: aload 2
aload 4
getfield com.sun.media.sound.SF2Instrument.name:Ljava/lang/String;
bipush 20
invokevirtual com.sun.media.sound.RIFFWriter.writeString:(Ljava/lang/String;I)V
5: aload 2
aload 4
getfield com.sun.media.sound.SF2Instrument.preset:I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
6: aload 2
aload 4
getfield com.sun.media.sound.SF2Instrument.bank:I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
7: aload 2
iload 3
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
8: aload 4
invokevirtual com.sun.media.sound.SF2Instrument.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
ifnull 10
9: iinc 3 1
10: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.SF2Instrument java.util.Iterator
StackMap stack:
iload 3
aload 4
invokevirtual com.sun.media.sound.SF2Instrument.getRegions:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
istore 3
11: aload 2
aload 4
getfield com.sun.media.sound.SF2Instrument.library:J
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedInt:(J)V
12: aload 2
aload 4
getfield com.sun.media.sound.SF2Instrument.genre:J
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedInt:(J)V
13: aload 2
aload 4
getfield com.sun.media.sound.SF2Instrument.morphology:J
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedInt:(J)V
end local 4 14: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
15: aload 2
ldc "EOP"
bipush 20
invokevirtual com.sun.media.sound.RIFFWriter.writeString:(Ljava/lang/String;I)V
16: aload 2
iconst_0
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
17: aload 2
iconst_0
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
18: aload 2
iload 3
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
19: aload 2
lconst_0
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedInt:(J)V
20: aload 2
lconst_0
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedInt:(J)V
21: aload 2
lconst_0
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedInt:(J)V
22: aload 1
ldc "pbag"
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 4
start local 4 23: iconst_0
istore 5
start local 5 24: iconst_0
istore 6
start local 6 25: aload 0
getfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 41
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int top java.util.Iterator
StackMap stack:
26: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Instrument
astore 7
start local 7 27: aload 7
invokevirtual com.sun.media.sound.SF2Instrument.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
ifnull 32
28: aload 4
iload 5
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
29: aload 4
iload 6
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
30: iload 5
aload 7
invokevirtual com.sun.media.sound.SF2Instrument.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
invokevirtual com.sun.media.sound.SF2GlobalRegion.getGenerators:()Ljava/util/Map;
invokeinterface java.util.Map.size:()I
iadd
istore 5
31: iload 6
aload 7
invokevirtual com.sun.media.sound.SF2Instrument.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
invokevirtual com.sun.media.sound.SF2GlobalRegion.getModulators:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
istore 6
32: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.SF2Instrument java.util.Iterator
StackMap stack:
aload 7
invokevirtual com.sun.media.sound.SF2Instrument.getRegions:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 40
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.SF2Instrument java.util.Iterator top java.util.Iterator
StackMap stack:
33: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2InstrumentRegion
astore 9
start local 9 34: aload 4
iload 5
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
35: aload 4
iload 6
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
36: aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
aload 9
getfield com.sun.media.sound.SF2InstrumentRegion.layer:Lcom/sun/media/sound/SF2Layer;
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
iconst_m1
if_icmpeq 38
37: iinc 5 1
38: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.SF2Instrument java.util.Iterator com.sun.media.sound.SF2InstrumentRegion java.util.Iterator
StackMap stack:
iload 5
aload 9
invokevirtual com.sun.media.sound.SF2InstrumentRegion.getGenerators:()Ljava/util/Map;
invokeinterface java.util.Map.size:()I
iadd
istore 5
39: iload 6
aload 9
invokevirtual com.sun.media.sound.SF2InstrumentRegion.getModulators:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
istore 6
end local 9 40: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.SF2Instrument java.util.Iterator top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 33
end local 7 41: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 26
42: aload 4
iload 5
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
43: aload 4
iload 6
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
44: aload 1
ldc "pmod"
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 7
start local 7 45: aload 0
getfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 55
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter top java.util.Iterator
StackMap stack:
46: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Instrument
astore 8
start local 8 47: aload 8
invokevirtual com.sun.media.sound.SF2Instrument.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
ifnull 51
48: aload 0
aload 7
49: aload 8
invokevirtual com.sun.media.sound.SF2Instrument.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
invokevirtual com.sun.media.sound.SF2GlobalRegion.getModulators:()Ljava/util/List;
50: invokevirtual com.sun.media.sound.SF2Soundbank.writeModulators:(Lcom/sun/media/sound/RIFFWriter;Ljava/util/List;)V
51: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.SF2Instrument java.util.Iterator
StackMap stack:
aload 8
invokevirtual com.sun.media.sound.SF2Instrument.getRegions:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 11
goto 54
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.SF2Instrument java.util.Iterator top java.util.Iterator
StackMap stack:
52: aload 11
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2InstrumentRegion
astore 10
start local 10 53: aload 0
aload 7
aload 10
invokevirtual com.sun.media.sound.SF2InstrumentRegion.getModulators:()Ljava/util/List;
invokevirtual com.sun.media.sound.SF2Soundbank.writeModulators:(Lcom/sun/media/sound/RIFFWriter;Ljava/util/List;)V
end local 10 54: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 52
end local 8 55: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 46
56: aload 7
bipush 10
newarray 8
invokevirtual com.sun.media.sound.RIFFWriter.write:([B)V
57: aload 1
ldc "pgen"
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 8
start local 8 58: aload 0
getfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 10
goto 72
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter top java.util.Iterator
StackMap stack:
59: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Instrument
astore 9
start local 9 60: aload 9
invokevirtual com.sun.media.sound.SF2Instrument.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
ifnull 64
61: aload 0
aload 8
62: aload 9
invokevirtual com.sun.media.sound.SF2Instrument.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
invokevirtual com.sun.media.sound.SF2GlobalRegion.getGenerators:()Ljava/util/Map;
63: invokevirtual com.sun.media.sound.SF2Soundbank.writeGenerators:(Lcom/sun/media/sound/RIFFWriter;Ljava/util/Map;)V
64: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.SF2Instrument java.util.Iterator
StackMap stack:
aload 9
invokevirtual com.sun.media.sound.SF2Instrument.getRegions:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 12
goto 71
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.SF2Instrument java.util.Iterator top java.util.Iterator
StackMap stack:
65: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2InstrumentRegion
astore 11
start local 11 66: aload 0
aload 8
aload 11
invokevirtual com.sun.media.sound.SF2InstrumentRegion.getGenerators:()Ljava/util/Map;
invokevirtual com.sun.media.sound.SF2Soundbank.writeGenerators:(Lcom/sun/media/sound/RIFFWriter;Ljava/util/Map;)V
67: aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
aload 11
getfield com.sun.media.sound.SF2InstrumentRegion.layer:Lcom/sun/media/sound/SF2Layer;
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
istore 13
start local 13 68: iload 13
iconst_m1
if_icmpeq 71
69: aload 8
bipush 41
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
70: aload 8
iload 13
i2s
invokevirtual com.sun.media.sound.RIFFWriter.writeShort:(S)V
end local 13 end local 11 71: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 65
end local 9 72: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 59
73: aload 8
iconst_4
newarray 8
invokevirtual com.sun.media.sound.RIFFWriter.write:([B)V
74: aload 1
ldc "inst"
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 9
start local 9 75: iconst_0
istore 10
start local 10 76: aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 12
goto 83
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int top java.util.Iterator
StackMap stack:
77: aload 12
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Layer
astore 11
start local 11 78: aload 9
aload 11
getfield com.sun.media.sound.SF2Layer.name:Ljava/lang/String;
bipush 20
invokevirtual com.sun.media.sound.RIFFWriter.writeString:(Ljava/lang/String;I)V
79: aload 9
iload 10
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
80: aload 11
invokevirtual com.sun.media.sound.SF2Layer.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
ifnull 82
81: iinc 10 1
82: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.SF2Layer java.util.Iterator
StackMap stack:
iload 10
aload 11
invokevirtual com.sun.media.sound.SF2Layer.getRegions:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
istore 10
end local 11 83: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int top java.util.Iterator
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 77
84: aload 9
ldc "EOI"
bipush 20
invokevirtual com.sun.media.sound.RIFFWriter.writeString:(Ljava/lang/String;I)V
85: aload 9
iload 10
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
86: aload 1
ldc "ibag"
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 11
start local 11 87: iconst_0
istore 12
start local 12 88: iconst_0
istore 13
start local 13 89: aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 15
goto 107
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int top java.util.Iterator
StackMap stack:
90: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Layer
astore 14
start local 14 91: aload 14
invokevirtual com.sun.media.sound.SF2Layer.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
ifnull 98
92: aload 11
iload 12
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
93: aload 11
iload 13
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
94: iload 12
95: aload 14
invokevirtual com.sun.media.sound.SF2Layer.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
invokevirtual com.sun.media.sound.SF2GlobalRegion.getGenerators:()Ljava/util/Map;
invokeinterface java.util.Map.size:()I
iadd
istore 12
96: iload 13
97: aload 14
invokevirtual com.sun.media.sound.SF2Layer.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
invokevirtual com.sun.media.sound.SF2GlobalRegion.getModulators:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
istore 13
98: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.SF2Layer java.util.Iterator
StackMap stack:
aload 14
invokevirtual com.sun.media.sound.SF2Layer.getRegions:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 17
goto 106
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.SF2Layer java.util.Iterator top java.util.Iterator
StackMap stack:
99: aload 17
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2LayerRegion
astore 16
start local 16 100: aload 11
iload 12
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
101: aload 11
iload 13
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
102: aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
aload 16
getfield com.sun.media.sound.SF2LayerRegion.sample:Lcom/sun/media/sound/SF2Sample;
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
iconst_m1
if_icmpeq 104
103: iinc 12 1
104: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.SF2Layer java.util.Iterator com.sun.media.sound.SF2LayerRegion java.util.Iterator
StackMap stack:
iload 12
aload 16
invokevirtual com.sun.media.sound.SF2LayerRegion.getGenerators:()Ljava/util/Map;
invokeinterface java.util.Map.size:()I
iadd
istore 12
105: iload 13
aload 16
invokevirtual com.sun.media.sound.SF2LayerRegion.getModulators:()Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
istore 13
end local 16 106: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.SF2Layer java.util.Iterator top java.util.Iterator
StackMap stack:
aload 17
invokeinterface java.util.Iterator.hasNext:()Z
ifne 99
end local 14 107: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int top java.util.Iterator
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 90
108: aload 11
iload 12
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
109: aload 11
iload 13
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
110: aload 1
ldc "imod"
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 14
start local 14 111: aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 16
goto 121
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter top java.util.Iterator
StackMap stack:
112: aload 16
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Layer
astore 15
start local 15 113: aload 15
invokevirtual com.sun.media.sound.SF2Layer.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
ifnull 117
114: aload 0
aload 14
115: aload 15
invokevirtual com.sun.media.sound.SF2Layer.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
invokevirtual com.sun.media.sound.SF2GlobalRegion.getModulators:()Ljava/util/List;
116: invokevirtual com.sun.media.sound.SF2Soundbank.writeModulators:(Lcom/sun/media/sound/RIFFWriter;Ljava/util/List;)V
117: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.SF2Layer java.util.Iterator
StackMap stack:
aload 15
invokevirtual com.sun.media.sound.SF2Layer.getRegions:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 18
goto 120
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.SF2Layer java.util.Iterator top java.util.Iterator
StackMap stack:
118: aload 18
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2LayerRegion
astore 17
start local 17 119: aload 0
aload 14
aload 17
invokevirtual com.sun.media.sound.SF2LayerRegion.getModulators:()Ljava/util/List;
invokevirtual com.sun.media.sound.SF2Soundbank.writeModulators:(Lcom/sun/media/sound/RIFFWriter;Ljava/util/List;)V
end local 17 120: StackMap locals:
StackMap stack:
aload 18
invokeinterface java.util.Iterator.hasNext:()Z
ifne 118
end local 15 121: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter top java.util.Iterator
StackMap stack:
aload 16
invokeinterface java.util.Iterator.hasNext:()Z
ifne 112
122: aload 14
bipush 10
newarray 8
invokevirtual com.sun.media.sound.RIFFWriter.write:([B)V
123: aload 1
ldc "igen"
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 15
start local 15 124: aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 17
goto 138
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter top java.util.Iterator
StackMap stack:
125: aload 17
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Layer
astore 16
start local 16 126: aload 16
invokevirtual com.sun.media.sound.SF2Layer.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
ifnull 130
127: aload 0
aload 15
128: aload 16
invokevirtual com.sun.media.sound.SF2Layer.getGlobalRegion:()Lcom/sun/media/sound/SF2GlobalRegion;
invokevirtual com.sun.media.sound.SF2GlobalRegion.getGenerators:()Ljava/util/Map;
129: invokevirtual com.sun.media.sound.SF2Soundbank.writeGenerators:(Lcom/sun/media/sound/RIFFWriter;Ljava/util/Map;)V
130: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.SF2Layer java.util.Iterator
StackMap stack:
aload 16
invokevirtual com.sun.media.sound.SF2Layer.getRegions:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 19
goto 137
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.SF2Layer java.util.Iterator top java.util.Iterator
StackMap stack:
131: aload 19
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2LayerRegion
astore 18
start local 18 132: aload 0
aload 15
aload 18
invokevirtual com.sun.media.sound.SF2LayerRegion.getGenerators:()Ljava/util/Map;
invokevirtual com.sun.media.sound.SF2Soundbank.writeGenerators:(Lcom/sun/media/sound/RIFFWriter;Ljava/util/Map;)V
133: aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
aload 18
getfield com.sun.media.sound.SF2LayerRegion.sample:Lcom/sun/media/sound/SF2Sample;
invokeinterface java.util.List.indexOf:(Ljava/lang/Object;)I
istore 20
start local 20 134: iload 20
iconst_m1
if_icmpeq 137
135: aload 15
bipush 53
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
136: aload 15
iload 20
i2s
invokevirtual com.sun.media.sound.RIFFWriter.writeShort:(S)V
end local 20 end local 18 137: StackMap locals:
StackMap stack:
aload 19
invokeinterface java.util.Iterator.hasNext:()Z
ifne 131
end local 16 138: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter top java.util.Iterator
StackMap stack:
aload 17
invokeinterface java.util.Iterator.hasNext:()Z
ifne 125
139: aload 15
iconst_4
newarray 8
invokevirtual com.sun.media.sound.RIFFWriter.write:([B)V
140: aload 1
ldc "shdr"
invokevirtual com.sun.media.sound.RIFFWriter.writeChunk:(Ljava/lang/String;)Lcom/sun/media/sound/RIFFWriter;
astore 16
start local 16 141: lconst_0
lstore 17
start local 17 142: aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 20
goto 164
StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter long top java.util.Iterator
StackMap stack:
143: aload 20
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Sample
astore 19
start local 19 144: aload 16
aload 19
getfield com.sun.media.sound.SF2Sample.name:Ljava/lang/String;
bipush 20
invokevirtual com.sun.media.sound.RIFFWriter.writeString:(Ljava/lang/String;I)V
145: lload 17
lstore 21
start local 21 146: lload 17
aload 19
getfield com.sun.media.sound.SF2Sample.data:Lcom/sun/media/sound/ModelByteBuffer;
invokevirtual com.sun.media.sound.ModelByteBuffer.capacity:()J
ldc 2
ldiv
ladd
lstore 17
147: lload 17
lstore 23
start local 23 148: aload 19
getfield com.sun.media.sound.SF2Sample.startLoop:J
lload 21
ladd
lstore 25
start local 25 149: aload 19
getfield com.sun.media.sound.SF2Sample.endLoop:J
lload 21
ladd
lstore 27
start local 27 150: lload 25
lload 21
lcmp
ifge 152
151: lload 21
lstore 25
152: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter long com.sun.media.sound.SF2Sample java.util.Iterator long long long long
StackMap stack:
lload 27
lload 23
lcmp
ifle 154
153: lload 23
lstore 27
154: StackMap locals:
StackMap stack:
aload 16
lload 21
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedInt:(J)V
155: aload 16
lload 23
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedInt:(J)V
156: aload 16
lload 25
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedInt:(J)V
157: aload 16
lload 27
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedInt:(J)V
158: aload 16
aload 19
getfield com.sun.media.sound.SF2Sample.sampleRate:J
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedInt:(J)V
159: aload 16
aload 19
getfield com.sun.media.sound.SF2Sample.originalPitch:I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedByte:(I)V
160: aload 16
aload 19
getfield com.sun.media.sound.SF2Sample.pitchCorrection:B
invokevirtual com.sun.media.sound.RIFFWriter.writeByte:(I)V
161: aload 16
aload 19
getfield com.sun.media.sound.SF2Sample.sampleLink:I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
162: aload 16
aload 19
getfield com.sun.media.sound.SF2Sample.sampleType:I
invokevirtual com.sun.media.sound.RIFFWriter.writeUnsignedShort:(I)V
163: lload 17
ldc 32
ladd
lstore 17
end local 27 end local 25 end local 23 end local 21 end local 19 164: StackMap locals: com.sun.media.sound.SF2Soundbank com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter int com.sun.media.sound.RIFFWriter int int com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter com.sun.media.sound.RIFFWriter long top java.util.Iterator
StackMap stack:
aload 20
invokeinterface java.util.Iterator.hasNext:()Z
ifne 143
165: aload 16
ldc "EOS"
bipush 20
invokevirtual com.sun.media.sound.RIFFWriter.writeString:(Ljava/lang/String;I)V
166: aload 16
bipush 26
newarray 8
invokevirtual com.sun.media.sound.RIFFWriter.write:([B)V
167: return
end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 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 168 0 this Lcom/sun/media/sound/SF2Soundbank;
0 168 1 writer Lcom/sun/media/sound/RIFFWriter;
1 168 2 phdr_chunk Lcom/sun/media/sound/RIFFWriter;
2 168 3 phdr_zone_count I
4 14 4 preset Lcom/sun/media/sound/SF2Instrument;
23 168 4 pbag_chunk Lcom/sun/media/sound/RIFFWriter;
24 168 5 pbag_gencount I
25 168 6 pbag_modcount I
27 41 7 preset Lcom/sun/media/sound/SF2Instrument;
34 40 9 region Lcom/sun/media/sound/SF2InstrumentRegion;
45 168 7 pmod_chunk Lcom/sun/media/sound/RIFFWriter;
47 55 8 preset Lcom/sun/media/sound/SF2Instrument;
53 54 10 region Lcom/sun/media/sound/SF2InstrumentRegion;
58 168 8 pgen_chunk Lcom/sun/media/sound/RIFFWriter;
60 72 9 preset Lcom/sun/media/sound/SF2Instrument;
66 71 11 region Lcom/sun/media/sound/SF2InstrumentRegion;
68 71 13 ix I
75 168 9 inst_chunk Lcom/sun/media/sound/RIFFWriter;
76 168 10 inst_zone_count I
78 83 11 instrument Lcom/sun/media/sound/SF2Layer;
87 168 11 ibag_chunk Lcom/sun/media/sound/RIFFWriter;
88 168 12 ibag_gencount I
89 168 13 ibag_modcount I
91 107 14 instrument Lcom/sun/media/sound/SF2Layer;
100 106 16 region Lcom/sun/media/sound/SF2LayerRegion;
111 168 14 imod_chunk Lcom/sun/media/sound/RIFFWriter;
113 121 15 instrument Lcom/sun/media/sound/SF2Layer;
119 120 17 region Lcom/sun/media/sound/SF2LayerRegion;
124 168 15 igen_chunk Lcom/sun/media/sound/RIFFWriter;
126 138 16 instrument Lcom/sun/media/sound/SF2Layer;
132 137 18 region Lcom/sun/media/sound/SF2LayerRegion;
134 137 20 ix I
141 168 16 shdr_chunk Lcom/sun/media/sound/RIFFWriter;
142 168 17 sample_pos J
144 164 19 sample Lcom/sun/media/sound/SF2Sample;
146 164 21 start J
148 164 23 end J
149 164 25 startLoop J
150 164 27 endLoop J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
writer
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Soundbank;
public java.lang.String getVersion();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield com.sun.media.sound.SF2Soundbank.major:I
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.media.sound.SF2Soundbank.minor:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Soundbank;
public java.lang.String getVendor();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.engineers:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Soundbank;
public java.lang.String getDescription();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.comments:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Soundbank;
public void setName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.media.sound.SF2Soundbank.name:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Soundbank;
0 2 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public void setVendor(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.media.sound.SF2Soundbank.engineers:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Soundbank;
0 2 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public void setDescription(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.media.sound.SF2Soundbank.comments:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Soundbank;
0 2 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public javax.sound.midi.SoundbankResource[] getResources();
descriptor: ()[Ljavax/sound/midi/SoundbankResource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
anewarray javax.sound.midi.SoundbankResource
1: astore 1
start local 1 2: iconst_0
istore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: javax.sound.midi.SoundbankResource[] int int
StackMap stack:
aload 1
iload 2
iinc 2 1
aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.sound.midi.SoundbankResource
aastore
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 5
end local 3 8: iconst_0
istore 3
start local 3 9: goto 12
10: StackMap locals:
StackMap stack:
aload 1
iload 2
iinc 2 1
aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.sound.midi.SoundbankResource
aastore
11: iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 10
end local 3 13: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/media/sound/SF2Soundbank;
2 14 1 resources [Ljavax/sound/midi/SoundbankResource;
3 14 2 j I
4 8 3 i I
9 13 3 i I
public com.sun.media.sound.SF2Instrument[] getInstruments();
descriptor: ()[Lcom/sun/media/sound/SF2Instrument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
aload 0
getfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray com.sun.media.sound.SF2Instrument
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Instrument[]
1: astore 1
start local 1 2: aload 1
new com.sun.media.sound.ModelInstrumentComparator
dup
invokespecial com.sun.media.sound.ModelInstrumentComparator.<init>:()V
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;Ljava/util/Comparator;)V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/sound/SF2Soundbank;
2 4 1 inslist_array [Lcom/sun/media/sound/SF2Instrument;
public com.sun.media.sound.SF2Layer[] getLayers();
descriptor: ()[Lcom/sun/media/sound/SF2Layer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray com.sun.media.sound.SF2Layer
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Layer[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Soundbank;
public com.sun.media.sound.SF2Sample[] getSamples();
descriptor: ()[Lcom/sun/media/sound/SF2Sample;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
invokeinterface java.util.List.size:()I
anewarray com.sun.media.sound.SF2Sample
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Sample[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Soundbank;
public javax.sound.midi.Instrument getInstrument(javax.sound.midi.Patch);
descriptor: (Ljavax/sound/midi/Patch;)Ljavax/sound/midi/Instrument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=11, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.sound.midi.Patch.getProgram:()I
istore 2
start local 2 1: aload 1
invokevirtual javax.sound.midi.Patch.getBank:()I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: aload 1
instanceof com.sun.media.sound.ModelPatch
ifeq 5
4: aload 1
checkcast com.sun.media.sound.ModelPatch
invokevirtual com.sun.media.sound.ModelPatch.isPercussion:()Z
istore 4
5: StackMap locals: int int int
StackMap stack:
aload 0
getfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 16
StackMap locals: com.sun.media.sound.SF2Soundbank javax.sound.midi.Patch int int int top java.util.Iterator
StackMap stack:
6: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.sound.midi.Instrument
astore 5
start local 5 7: aload 5
invokevirtual javax.sound.midi.Instrument.getPatch:()Ljavax/sound/midi/Patch;
astore 7
start local 7 8: aload 7
invokevirtual javax.sound.midi.Patch.getProgram:()I
istore 8
start local 8 9: aload 7
invokevirtual javax.sound.midi.Patch.getBank:()I
istore 9
start local 9 10: iload 2
iload 8
if_icmpne 16
iload 3
iload 9
if_icmpne 16
11: iconst_0
istore 10
start local 10 12: aload 7
instanceof com.sun.media.sound.ModelPatch
ifeq 14
13: aload 7
checkcast com.sun.media.sound.ModelPatch
invokevirtual com.sun.media.sound.ModelPatch.isPercussion:()Z
istore 10
14: StackMap locals: com.sun.media.sound.SF2Soundbank javax.sound.midi.Patch int int int javax.sound.midi.Instrument java.util.Iterator javax.sound.midi.Patch int int int
StackMap stack:
iload 4
iload 10
if_icmpne 16
15: aload 5
areturn
end local 10 end local 9 end local 8 end local 7 end local 5 16: StackMap locals: com.sun.media.sound.SF2Soundbank javax.sound.midi.Patch int int int top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
17: aconst_null
areturn
end local 4 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/SF2Soundbank;
0 18 1 patch Ljavax/sound/midi/Patch;
1 18 2 program I
2 18 3 bank I
3 18 4 percussion Z
7 16 5 instrument Ljavax/sound/midi/Instrument;
8 16 7 patch2 Ljavax/sound/midi/Patch;
9 16 8 program2 I
10 16 9 bank2 I
12 16 10 percussion2 Z
MethodParameters:
Name Flags
patch
public java.lang.String getCreationDate();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.creationDate:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Soundbank;
public void setCreationDate(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.media.sound.SF2Soundbank.creationDate:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Soundbank;
0 2 1 creationDate Ljava/lang/String;
MethodParameters:
Name Flags
creationDate
public java.lang.String getProduct();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.product:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Soundbank;
public void setProduct(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.media.sound.SF2Soundbank.product:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Soundbank;
0 2 1 product Ljava/lang/String;
MethodParameters:
Name Flags
product
public java.lang.String getRomName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.romName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Soundbank;
public void setRomName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.media.sound.SF2Soundbank.romName:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Soundbank;
0 2 1 romName Ljava/lang/String;
MethodParameters:
Name Flags
romName
public int getRomVersionMajor();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.romVersionMajor:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Soundbank;
public void setRomVersionMajor(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.media.sound.SF2Soundbank.romVersionMajor:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Soundbank;
0 2 1 romVersionMajor I
MethodParameters:
Name Flags
romVersionMajor
public int getRomVersionMinor();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.romVersionMinor:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Soundbank;
public void setRomVersionMinor(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.media.sound.SF2Soundbank.romVersionMinor:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Soundbank;
0 2 1 romVersionMinor I
MethodParameters:
Name Flags
romVersionMinor
public java.lang.String getTargetEngine();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.targetEngine:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Soundbank;
public void setTargetEngine(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.media.sound.SF2Soundbank.targetEngine:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Soundbank;
0 2 1 targetEngine Ljava/lang/String;
MethodParameters:
Name Flags
targetEngine
public java.lang.String getTools();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.tools:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Soundbank;
public void setTools(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.media.sound.SF2Soundbank.tools:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Soundbank;
0 2 1 tools Ljava/lang/String;
MethodParameters:
Name Flags
tools
public void addResource(javax.sound.midi.SoundbankResource);
descriptor: (Ljavax/sound/midi/SoundbankResource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.media.sound.SF2Instrument
ifeq 2
1: aload 0
getfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
aload 1
checkcast com.sun.media.sound.SF2Instrument
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.media.sound.SF2Layer
ifeq 4
3: aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
aload 1
checkcast com.sun.media.sound.SF2Layer
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.media.sound.SF2Sample
ifeq 6
5: aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
aload 1
checkcast com.sun.media.sound.SF2Sample
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/media/sound/SF2Soundbank;
0 7 1 resource Ljavax/sound/midi/SoundbankResource;
MethodParameters:
Name Flags
resource
public void removeResource(javax.sound.midi.SoundbankResource);
descriptor: (Ljavax/sound/midi/SoundbankResource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.media.sound.SF2Instrument
ifeq 2
1: aload 0
getfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
aload 1
checkcast com.sun.media.sound.SF2Instrument
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
2: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.media.sound.SF2Layer
ifeq 4
3: aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
aload 1
checkcast com.sun.media.sound.SF2Layer
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.media.sound.SF2Sample
ifeq 6
5: aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
aload 1
checkcast com.sun.media.sound.SF2Sample
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/media/sound/SF2Soundbank;
0 7 1 resource Ljavax/sound/midi/SoundbankResource;
MethodParameters:
Name Flags
resource
public void addInstrument(com.sun.media.sound.SF2Instrument);
descriptor: (Lcom/sun/media/sound/SF2Instrument;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Soundbank;
0 2 1 resource Lcom/sun/media/sound/SF2Instrument;
MethodParameters:
Name Flags
resource
public void removeInstrument(com.sun.media.sound.SF2Instrument);
descriptor: (Lcom/sun/media/sound/SF2Instrument;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.SF2Soundbank.instruments:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Soundbank;
0 2 1 resource Lcom/sun/media/sound/SF2Instrument;
MethodParameters:
Name Flags
resource
public javax.sound.midi.Instrument[] getInstruments();
descriptor: ()[Ljavax/sound/midi/Instrument;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.sun.media.sound.SF2Soundbank.getInstruments:()[Lcom/sun/media/sound/SF2Instrument;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SF2Soundbank.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map