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 245
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 245
StackMap locals:
StackMap stack:
35: aload 11
ldc "pbag"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 92
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
invokeinterface java.util.List.isEmpty:()Z
ifeq 50
49: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
50: StackMap locals:
StackMap stack:
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 51: iconst_0
istore 14
start local 14 52: goto 65
53: StackMap locals: int int
StackMap stack:
iload 12
ifne 55
54: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
55: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 15
start local 15 56: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 16
start local 16 57: goto 59
58: StackMap locals: int int
StackMap stack:
aload 4
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
59: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.List.size:()I
iload 15
if_icmplt 58
60: goto 62
61: StackMap locals:
StackMap stack:
aload 5
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
62: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.size:()I
iload 16
if_icmplt 61
63: iinc 12 -1
end local 16 end local 15 64: iinc 14 1
StackMap locals:
StackMap stack:
65: iload 14
iload 13
if_icmplt 53
end local 14 66: iconst_0
istore 14
start local 14 67: goto 90
68: 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
69: aload 3
iload 14
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
70: isub
istore 15
start local 15 71: aload 2
iload 14
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.media.sound.SF2Instrument
astore 16
start local 16 72: iconst_0
istore 17
start local 17 73: goto 88
74: StackMap locals: int com.sun.media.sound.SF2Instrument int
StackMap stack:
iload 12
ifne 76
75: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
76: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 18
start local 18 77: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 19
start local 19 78: new com.sun.media.sound.SF2InstrumentRegion
dup
invokespecial com.sun.media.sound.SF2InstrumentRegion.<init>:()V
astore 20
start local 20 79: aload 16
getfield com.sun.media.sound.SF2Instrument.regions:Ljava/util/List;
aload 20
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
80: goto 82
81: 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
82: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.List.size:()I
iload 18
if_icmplt 81
83: goto 85
84: StackMap locals:
StackMap stack:
aload 5
aload 20
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
85: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.size:()I
iload 19
if_icmplt 84
86: iinc 12 -1
end local 20 end local 19 end local 18 87: iinc 17 1
StackMap locals:
StackMap stack:
88: iload 17
iload 15
if_icmplt 74
end local 17 end local 16 end local 15 89: iinc 14 1
StackMap locals:
StackMap stack:
90: iload 14
aload 3
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmplt 68
end local 14 end local 13 end local 12 91: goto 245
StackMap locals:
StackMap stack:
92: aload 11
ldc "pmod"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 107
93: iconst_0
istore 12
start local 12 94: goto 105
95: 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 96: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.sourceOperator:I
97: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.destinationOperator:I
98: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readShort:()S
putfield com.sun.media.sound.SF2Modulator.amount:S
99: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.amountSourceOperator:I
100: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.transportOperator:I
101: aload 5
iload 12
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.media.sound.SF2InstrumentRegion
astore 14
start local 14 102: aload 14
ifnull 104
103: 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 104: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
105: iload 12
aload 5
invokeinterface java.util.List.size:()I
if_icmplt 95
end local 12 106: goto 245
StackMap locals:
StackMap stack:
107: aload 11
ldc "pgen"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 118
108: iconst_0
istore 12
start local 12 109: goto 116
110: StackMap locals: int
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 13
start local 13 111: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readShort:()S
istore 14
start local 14 112: aload 4
iload 12
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.media.sound.SF2InstrumentRegion
astore 15
start local 15 113: aload 15
ifnull 115
114: 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 115: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
116: iload 12
aload 4
invokeinterface java.util.List.size:()I
if_icmplt 110
end local 12 117: goto 245
StackMap locals:
StackMap stack:
118: aload 11
ldc "inst"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 133
119: aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
bipush 22
irem
ifeq 121
120: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
121: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
bipush 22
idiv
istore 12
start local 12 122: iconst_0
istore 13
start local 13 123: goto 131
124: 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 125: 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;
126: 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
127: aload 6
aload 14
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
128: iload 13
iload 12
iconst_1
isub
if_icmpeq 130
129: 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 130: StackMap locals:
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
131: iload 13
iload 12
if_icmplt 124
end local 13 end local 12 132: goto 245
StackMap locals:
StackMap stack:
133: aload 11
ldc "ibag"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 188
134: aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
iconst_4
irem
ifeq 136
135: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
136: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
iconst_4
idiv
istore 12
start local 12 137: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 13
start local 13 138: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 14
start local 14 139: goto 141
140: StackMap locals: int int int
StackMap stack:
aload 8
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
141: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.List.size:()I
iload 13
if_icmplt 140
142: goto 144
143: StackMap locals:
StackMap stack:
aload 9
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
144: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.List.size:()I
iload 14
if_icmplt 143
145: iinc 12 -1
end local 14 end local 13 146: aload 7
invokeinterface java.util.List.isEmpty:()Z
ifeq 148
147: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
148: StackMap locals:
StackMap stack:
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 149: iconst_0
istore 14
start local 14 150: goto 163
151: StackMap locals: int int
StackMap stack:
iload 12
ifne 153
152: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
153: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 15
start local 15 154: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 16
start local 16 155: goto 157
156: StackMap locals: int int
StackMap stack:
aload 8
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
157: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.List.size:()I
iload 15
if_icmplt 156
158: goto 160
159: StackMap locals:
StackMap stack:
aload 9
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
160: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.List.size:()I
iload 16
if_icmplt 159
161: iinc 12 -1
end local 16 end local 15 162: iinc 14 1
StackMap locals:
StackMap stack:
163: iload 14
iload 13
if_icmplt 151
end local 14 164: iconst_0
istore 14
start local 14 165: goto 186
166: 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 167: 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 168: iconst_0
istore 17
start local 17 169: goto 184
170: StackMap locals: int com.sun.media.sound.SF2Layer int
StackMap stack:
iload 12
ifne 172
171: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
172: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 18
start local 18 173: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 19
start local 19 174: new com.sun.media.sound.SF2LayerRegion
dup
invokespecial com.sun.media.sound.SF2LayerRegion.<init>:()V
astore 20
start local 20 175: aload 16
getfield com.sun.media.sound.SF2Layer.regions:Ljava/util/List;
aload 20
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
176: goto 178
177: 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
178: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.List.size:()I
iload 18
if_icmplt 177
179: goto 181
180: StackMap locals:
StackMap stack:
aload 9
aload 20
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
181: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.List.size:()I
iload 19
if_icmplt 180
182: iinc 12 -1
end local 20 end local 19 end local 18 183: iinc 17 1
StackMap locals:
StackMap stack:
184: iload 17
iload 15
if_icmplt 170
end local 17 end local 16 end local 15 185: iinc 14 1
StackMap locals:
StackMap stack:
186: iload 14
aload 7
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmplt 166
end local 14 end local 13 end local 12 187: goto 245
StackMap locals:
StackMap stack:
188: aload 11
ldc "imod"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 205
189: iconst_0
istore 12
start local 12 190: goto 203
191: 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 192: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.sourceOperator:I
193: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.destinationOperator:I
194: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readShort:()S
putfield com.sun.media.sound.SF2Modulator.amount:S
195: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.amountSourceOperator:I
196: aload 13
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Modulator.transportOperator:I
197: iload 12
iflt 198
iload 12
aload 8
invokeinterface java.util.List.size:()I
if_icmplt 199
198: StackMap locals: com.sun.media.sound.SF2Modulator
StackMap stack:
new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
199: StackMap locals:
StackMap stack:
aload 8
iload 12
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.media.sound.SF2LayerRegion
astore 14
start local 14 200: aload 14
ifnull 202
201: 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 202: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
203: iload 12
aload 9
invokeinterface java.util.List.size:()I
if_icmplt 191
end local 12 204: goto 245
StackMap locals:
StackMap stack:
205: aload 11
ldc "igen"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 216
206: iconst_0
istore 12
start local 12 207: goto 214
208: StackMap locals: int
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
istore 13
start local 13 209: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readShort:()S
istore 14
start local 14 210: aload 8
iload 12
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.media.sound.SF2LayerRegion
astore 15
start local 15 211: aload 15
ifnull 213
212: 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 213: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
214: iload 12
aload 8
invokeinterface java.util.List.size:()I
if_icmplt 208
end local 12 215: goto 245
StackMap locals:
StackMap stack:
216: aload 11
ldc "shdr"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 245
217: aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
bipush 46
irem
ifeq 219
218: new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
219: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.media.sound.RIFFReader.available:()I
bipush 46
idiv
istore 12
start local 12 220: iconst_0
istore 13
start local 13 221: goto 244
222: 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 223: 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;
224: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedInt:()J
lstore 15
start local 15 225: aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedInt:()J
lstore 17
start local 17 226: aload 0
getfield com.sun.media.sound.SF2Soundbank.sampleData:Lcom/sun/media/sound/ModelByteBuffer;
ifnull 228
227: 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;
228: StackMap locals: com.sun.media.sound.SF2Sample long long
StackMap stack:
aload 0
getfield com.sun.media.sound.SF2Soundbank.sampleData24:Lcom/sun/media/sound/ModelByteBuffer;
ifnull 230
229: 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;
230: StackMap locals:
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
231: aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedInt:()J
lload 15
lsub
putfield com.sun.media.sound.SF2Sample.endLoop:J
232: aload 14
getfield com.sun.media.sound.SF2Sample.startLoop:J
lconst_0
lcmp
ifge 234
233: aload 14
ldc -1
putfield com.sun.media.sound.SF2Sample.startLoop:J
234: StackMap locals:
StackMap stack:
aload 14
getfield com.sun.media.sound.SF2Sample.endLoop:J
lconst_0
lcmp
ifge 236
235: aload 14
ldc -1
putfield com.sun.media.sound.SF2Sample.endLoop:J
236: StackMap locals:
StackMap stack:
aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedInt:()J
putfield com.sun.media.sound.SF2Sample.sampleRate:J
237: aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedByte:()I
putfield com.sun.media.sound.SF2Sample.originalPitch:I
238: aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readByte:()B
putfield com.sun.media.sound.SF2Sample.pitchCorrection:B
239: aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Sample.sampleLink:I
240: aload 14
aload 10
invokevirtual com.sun.media.sound.RIFFReader.readUnsignedShort:()I
putfield com.sun.media.sound.SF2Sample.sampleType:I
241: iload 13
iload 12
iconst_1
isub
if_icmpeq 243
242: 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 243: StackMap locals:
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
244: iload 13
iload 12
if_icmplt 222
end local 13 end local 12 end local 11 end local 10 245: 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
246: 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 247: goto 270
248: 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 249: 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 250: aconst_null
astore 13
start local 13 251: goto 263
252: 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 253: 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 262
254: aload 14
getfield com.sun.media.sound.SF2LayerRegion.generators:Ljava/util/Map;
255: bipush 53
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
256: 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 257: 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
258: iload 15
iflt 259
iload 15
aload 0
getfield com.sun.media.sound.SF2Soundbank.samples:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 260
259: StackMap locals: com.sun.media.sound.SF2LayerRegion int
StackMap stack:
new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
260: StackMap locals:
StackMap stack:
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 261: goto 263
262: StackMap locals:
StackMap stack:
aload 14
astore 13
end local 14 263: StackMap locals:
StackMap stack:
aload 12
invokeinterface java.util.Iterator.hasNext:()Z
ifne 252
264: aload 13
ifnull 270
265: aload 11
invokevirtual com.sun.media.sound.SF2Layer.getRegions:()Ljava/util/List;
aload 13
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
266: new com.sun.media.sound.SF2GlobalRegion
dup
invokespecial com.sun.media.sound.SF2GlobalRegion.<init>:()V
astore 14
start local 14 267: aload 14
aload 13
getfield com.sun.media.sound.SF2Region.generators:Ljava/util/Map;
putfield com.sun.media.sound.SF2GlobalRegion.generators:Ljava/util/Map;
268: aload 14
aload 13
getfield com.sun.media.sound.SF2Region.modulators:Ljava/util/List;
putfield com.sun.media.sound.SF2GlobalRegion.modulators:Ljava/util/List;
269: 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 270: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 248
271: 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 272: goto 295
273: 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 274: 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 275: aconst_null
astore 14
start local 14 276: goto 288
277: 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 278: 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 287
279: aload 15
getfield com.sun.media.sound.SF2InstrumentRegion.generators:Ljava/util/Map;
280: bipush 41
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
281: 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 282: 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
283: iload 16
iflt 284
iload 16
aload 0
getfield com.sun.media.sound.SF2Soundbank.layers:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmplt 285
284: StackMap locals: com.sun.media.sound.SF2InstrumentRegion int
StackMap stack:
new com.sun.media.sound.RIFFInvalidDataException
dup
invokespecial com.sun.media.sound.RIFFInvalidDataException.<init>:()V
athrow
285: StackMap locals:
StackMap stack:
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 286: goto 288
287: StackMap locals:
StackMap stack:
aload 15
astore 14
end local 15 288: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 277
289: aload 14
ifnull 295
290: aload 12
invokevirtual com.sun.media.sound.SF2Instrument.getRegions:()Ljava/util/List;
aload 14
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
pop
291: new com.sun.media.sound.SF2GlobalRegion
dup
invokespecial com.sun.media.sound.SF2GlobalRegion.<init>:()V
astore 15
start local 15 292: aload 15
aload 14
getfield com.sun.media.sound.SF2Region.generators:Ljava/util/Map;
putfield com.sun.media.sound.SF2GlobalRegion.generators:Ljava/util/Map;
293: aload 15
aload 14
getfield com.sun.media.sound.SF2Region.modulators:Ljava/util/List;
putfield com.sun.media.sound.SF2GlobalRegion.modulators:Ljava/util/List;
294: 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 295: StackMap locals:
StackMap stack:
aload 11
invokeinterface java.util.Iterator.hasNext:()Z
ifne 273
296: 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 297 0 this Lcom/sun/media/sound/SF2Soundbank;
0 297 1 riff Lcom/sun/media/sound/RIFFReader;
1 297 2 presets Ljava/util/List<Lcom/sun/media/sound/SF2Instrument;>;
2 297 3 presets_bagNdx Ljava/util/List<Ljava/lang/Integer;>;
4 297 4 presets_splits_gen Ljava/util/List<Lcom/sun/media/sound/SF2InstrumentRegion;>;
6 297 5 presets_splits_mod Ljava/util/List<Lcom/sun/media/sound/SF2InstrumentRegion;>;
7 297 6 instruments Ljava/util/List<Lcom/sun/media/sound/SF2Layer;>;
8 297 7 instruments_bagNdx Ljava/util/List<Ljava/lang/Integer;>;
10 297 8 instruments_splits_gen Ljava/util/List<Lcom/sun/media/sound/SF2LayerRegion;>;
12 297 9 instruments_splits_mod Ljava/util/List<Lcom/sun/media/sound/SF2LayerRegion;>;
14 245 10 chunk Lcom/sun/media/sound/RIFFReader;
15 245 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 91 12 count I
40 48 13 gencount I
41 48 14 modcount I
51 91 13 offset I
52 66 14 i I
56 64 15 gencount I
57 64 16 modcount I
67 91 14 i I
71 89 15 zone_count I
72 89 16 preset Lcom/sun/media/sound/SF2Instrument;
73 89 17 ii I
77 87 18 gencount I
78 87 19 modcount I
79 87 20 split Lcom/sun/media/sound/SF2InstrumentRegion;
94 106 12 i I
96 104 13 modulator Lcom/sun/media/sound/SF2Modulator;
102 104 14 split Lcom/sun/media/sound/SF2InstrumentRegion;
109 117 12 i I
111 115 13 operator I
112 115 14 amount S
113 115 15 split Lcom/sun/media/sound/SF2InstrumentRegion;
122 132 12 count I
123 132 13 i I
125 130 14 layer Lcom/sun/media/sound/SF2Layer;
137 187 12 count I
138 146 13 gencount I
139 146 14 modcount I
149 187 13 offset I
150 164 14 i I
154 162 15 gencount I
155 162 16 modcount I
165 187 14 i I
167 185 15 zone_count I
168 185 16 layer Lcom/sun/media/sound/SF2Layer;
169 185 17 ii I
173 183 18 gencount I
174 183 19 modcount I
175 183 20 split Lcom/sun/media/sound/SF2LayerRegion;
190 204 12 i I
192 202 13 modulator Lcom/sun/media/sound/SF2Modulator;
200 202 14 split Lcom/sun/media/sound/SF2LayerRegion;
207 215 12 i I
209 213 13 operator I
210 213 14 amount S
211 213 15 split Lcom/sun/media/sound/SF2LayerRegion;
220 245 12 count I
221 245 13 i I
223 243 14 sample Lcom/sun/media/sound/SF2Sample;
225 243 15 start J
226 243 17 end J
247 297 10 liter Ljava/util/Iterator<Lcom/sun/media/sound/SF2Layer;>;
249 270 11 layer Lcom/sun/media/sound/SF2Layer;
250 270 12 siter Ljava/util/Iterator<Lcom/sun/media/sound/SF2LayerRegion;>;
251 270 13 globalsplit Lcom/sun/media/sound/SF2Region;
253 263 14 split Lcom/sun/media/sound/SF2LayerRegion;
257 261 15 sampleid I
267 270 14 gsplit Lcom/sun/media/sound/SF2GlobalRegion;
272 297 11 iiter Ljava/util/Iterator<Lcom/sun/media/sound/SF2Instrument;>;
274 295 12 instrument Lcom/sun/media/sound/SF2Instrument;
275 295 13 siter Ljava/util/Iterator<Lcom/sun/media/sound/SF2InstrumentRegion;>;
276 295 14 globalsplit Lcom/sun/media/sound/SF2Region;
278 288 15 split Lcom/sun/media/sound/SF2InstrumentRegion;
282 286 16 instrumentid I
292 295 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