public final class com.sun.media.sound.SF2Sample extends javax.sound.midi.SoundbankResource
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.SF2Sample
super_class: javax.sound.midi.SoundbankResource
{
java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0000)
long startLoop;
descriptor: J
flags: (0x0000)
long endLoop;
descriptor: J
flags: (0x0000)
long sampleRate;
descriptor: J
flags: (0x0000)
int originalPitch;
descriptor: I
flags: (0x0000)
byte pitchCorrection;
descriptor: B
flags: (0x0000)
int sampleLink;
descriptor: I
flags: (0x0000)
int sampleType;
descriptor: I
flags: (0x0000)
com.sun.media.sound.ModelByteBuffer data;
descriptor: Lcom/sun/media/sound/ModelByteBuffer;
flags: (0x0000)
com.sun.media.sound.ModelByteBuffer data24;
descriptor: Lcom/sun/media/sound/ModelByteBuffer;
flags: (0x0000)
public void <init>(javax.sound.midi.Soundbank);
descriptor: (Ljavax/sound/midi/Soundbank;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
ldc Ljavax/sound/sampled/AudioInputStream;
invokespecial javax.sound.midi.SoundbankResource.<init>:(Ljavax/sound/midi/Soundbank;Ljava/lang/String;Ljava/lang/Class;)V
1: aload 0
ldc ""
putfield com.sun.media.sound.SF2Sample.name:Ljava/lang/String;
2: aload 0
lconst_0
putfield com.sun.media.sound.SF2Sample.startLoop:J
3: aload 0
lconst_0
putfield com.sun.media.sound.SF2Sample.endLoop:J
4: aload 0
ldc 44100
putfield com.sun.media.sound.SF2Sample.sampleRate:J
5: aload 0
bipush 60
putfield com.sun.media.sound.SF2Sample.originalPitch:I
6: aload 0
iconst_0
putfield com.sun.media.sound.SF2Sample.pitchCorrection:B
7: aload 0
iconst_0
putfield com.sun.media.sound.SF2Sample.sampleLink:I
8: aload 0
iconst_0
putfield com.sun.media.sound.SF2Sample.sampleType:I
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/media/sound/SF2Sample;
0 10 1 soundBank Ljavax/sound/midi/Soundbank;
MethodParameters:
Name Flags
soundBank
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
aconst_null
ldc Ljavax/sound/sampled/AudioInputStream;
invokespecial javax.sound.midi.SoundbankResource.<init>:(Ljavax/sound/midi/Soundbank;Ljava/lang/String;Ljava/lang/Class;)V
1: aload 0
ldc ""
putfield com.sun.media.sound.SF2Sample.name:Ljava/lang/String;
2: aload 0
lconst_0
putfield com.sun.media.sound.SF2Sample.startLoop:J
3: aload 0
lconst_0
putfield com.sun.media.sound.SF2Sample.endLoop:J
4: aload 0
ldc 44100
putfield com.sun.media.sound.SF2Sample.sampleRate:J
5: aload 0
bipush 60
putfield com.sun.media.sound.SF2Sample.originalPitch:I
6: aload 0
iconst_0
putfield com.sun.media.sound.SF2Sample.pitchCorrection:B
7: aload 0
iconst_0
putfield com.sun.media.sound.SF2Sample.sampleLink:I
8: aload 0
iconst_0
putfield com.sun.media.sound.SF2Sample.sampleType:I
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/media/sound/SF2Sample;
public java.lang.Object getData();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.SF2Sample.getFormat:()Ljavax/sound/sampled/AudioFormat;
astore 1
start local 1 1: aload 0
getfield com.sun.media.sound.SF2Sample.data:Lcom/sun/media/sound/ModelByteBuffer;
invokevirtual com.sun.media.sound.ModelByteBuffer.getInputStream:()Ljava/io/InputStream;
astore 2
start local 2 2: aload 2
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals: javax.sound.sampled.AudioFormat java.io.InputStream
StackMap stack:
new javax.sound.sampled.AudioInputStream
dup
aload 2
aload 1
aload 0
getfield com.sun.media.sound.SF2Sample.data:Lcom/sun/media/sound/ModelByteBuffer;
invokevirtual com.sun.media.sound.ModelByteBuffer.capacity:()J
invokespecial javax.sound.sampled.AudioInputStream.<init>:(Ljava/io/InputStream;Ljavax/sound/sampled/AudioFormat;J)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/SF2Sample;
1 5 1 format Ljavax/sound/sampled/AudioFormat;
2 5 2 is Ljava/io/InputStream;
public com.sun.media.sound.ModelByteBuffer getDataBuffer();
descriptor: ()Lcom/sun/media/sound/ModelByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Sample.data:Lcom/sun/media/sound/ModelByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Sample;
public com.sun.media.sound.ModelByteBuffer getData24Buffer();
descriptor: ()Lcom/sun/media/sound/ModelByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Sample.data24:Lcom/sun/media/sound/ModelByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Sample;
public javax.sound.sampled.AudioFormat getFormat();
descriptor: ()Ljavax/sound/sampled/AudioFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: new javax.sound.sampled.AudioFormat
dup
aload 0
getfield com.sun.media.sound.SF2Sample.sampleRate:J
l2f
bipush 16
iconst_1
iconst_1
iconst_0
invokespecial javax.sound.sampled.AudioFormat.<init>:(FIIZZ)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Sample;
public void setData(com.sun.media.sound.ModelByteBuffer);
descriptor: (Lcom/sun/media/sound/ModelByteBuffer;)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.SF2Sample.data:Lcom/sun/media/sound/ModelByteBuffer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Sample;
0 2 1 data Lcom/sun/media/sound/ModelByteBuffer;
MethodParameters:
Name Flags
data
public void setData(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new com.sun.media.sound.ModelByteBuffer
dup
aload 1
invokespecial com.sun.media.sound.ModelByteBuffer.<init>:([B)V
putfield com.sun.media.sound.SF2Sample.data:Lcom/sun/media/sound/ModelByteBuffer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Sample;
0 2 1 data [B
MethodParameters:
Name Flags
data
public void setData(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
new com.sun.media.sound.ModelByteBuffer
dup
aload 1
iload 2
iload 3
invokespecial com.sun.media.sound.ModelByteBuffer.<init>:([BII)V
putfield com.sun.media.sound.SF2Sample.data:Lcom/sun/media/sound/ModelByteBuffer;
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Sample;
0 2 1 data [B
0 2 2 offset I
0 2 3 length I
MethodParameters:
Name Flags
data
offset
length
public void setData24(com.sun.media.sound.ModelByteBuffer);
descriptor: (Lcom/sun/media/sound/ModelByteBuffer;)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.SF2Sample.data24:Lcom/sun/media/sound/ModelByteBuffer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Sample;
0 2 1 data24 Lcom/sun/media/sound/ModelByteBuffer;
MethodParameters:
Name Flags
data24
public void setData24(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new com.sun.media.sound.ModelByteBuffer
dup
aload 1
invokespecial com.sun.media.sound.ModelByteBuffer.<init>:([B)V
putfield com.sun.media.sound.SF2Sample.data24:Lcom/sun/media/sound/ModelByteBuffer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Sample;
0 2 1 data24 [B
MethodParameters:
Name Flags
data24
public void setData24(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
new com.sun.media.sound.ModelByteBuffer
dup
aload 1
iload 2
iload 3
invokespecial com.sun.media.sound.ModelByteBuffer.<init>:([BII)V
putfield com.sun.media.sound.SF2Sample.data24:Lcom/sun/media/sound/ModelByteBuffer;
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Sample;
0 2 1 data24 [B
0 2 2 offset I
0 2 3 length I
MethodParameters:
Name Flags
data24
offset
length
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.SF2Sample.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Sample;
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.SF2Sample.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/SF2Sample;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public long getEndLoop();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Sample.endLoop:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Sample;
public void setEndLoop(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield com.sun.media.sound.SF2Sample.endLoop:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Sample;
0 2 1 endLoop J
MethodParameters:
Name Flags
endLoop
public int getOriginalPitch();
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.SF2Sample.originalPitch:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Sample;
public void setOriginalPitch(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.SF2Sample.originalPitch:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Sample;
0 2 1 originalPitch I
MethodParameters:
Name Flags
originalPitch
public byte getPitchCorrection();
descriptor: ()B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Sample.pitchCorrection:B
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Sample;
public void setPitchCorrection(byte);
descriptor: (B)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.SF2Sample.pitchCorrection:B
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Sample;
0 2 1 pitchCorrection B
MethodParameters:
Name Flags
pitchCorrection
public int getSampleLink();
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.SF2Sample.sampleLink:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Sample;
public void setSampleLink(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.SF2Sample.sampleLink:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Sample;
0 2 1 sampleLink I
MethodParameters:
Name Flags
sampleLink
public long getSampleRate();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Sample.sampleRate:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Sample;
public void setSampleRate(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield com.sun.media.sound.SF2Sample.sampleRate:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Sample;
0 2 1 sampleRate J
MethodParameters:
Name Flags
sampleRate
public int getSampleType();
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.SF2Sample.sampleType:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Sample;
public void setSampleType(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.SF2Sample.sampleType:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Sample;
0 2 1 sampleType I
MethodParameters:
Name Flags
sampleType
public long getStartLoop();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SF2Sample.startLoop:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SF2Sample;
public void setStartLoop(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield com.sun.media.sound.SF2Sample.startLoop:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SF2Sample;
0 2 1 startLoop J
MethodParameters:
Name Flags
startLoop
public java.lang.String toString();
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
ldc "Sample: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.media.sound.SF2Sample.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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/SF2Sample;
}
SourceFile: "SF2Sample.java"