public final class com.sun.media.sound.DLSSample 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.DLSSample
super_class: javax.sound.midi.SoundbankResource
{
byte[] guid;
descriptor: [B
flags: (0x0000)
com.sun.media.sound.DLSInfo info;
descriptor: Lcom/sun/media/sound/DLSInfo;
flags: (0x0000)
com.sun.media.sound.DLSSampleOptions sampleoptions;
descriptor: Lcom/sun/media/sound/DLSSampleOptions;
flags: (0x0000)
com.sun.media.sound.ModelByteBuffer data;
descriptor: Lcom/sun/media/sound/ModelByteBuffer;
flags: (0x0000)
javax.sound.sampled.AudioFormat format;
descriptor: Ljavax/sound/sampled/AudioFormat;
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
aconst_null
putfield com.sun.media.sound.DLSSample.guid:[B
2: aload 0
new com.sun.media.sound.DLSInfo
dup
invokespecial com.sun.media.sound.DLSInfo.<init>:()V
putfield com.sun.media.sound.DLSSample.info:Lcom/sun/media/sound/DLSInfo;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/sound/DLSSample;
0 4 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
aconst_null
putfield com.sun.media.sound.DLSSample.guid:[B
2: aload 0
new com.sun.media.sound.DLSInfo
dup
invokespecial com.sun.media.sound.DLSInfo.<init>:()V
putfield com.sun.media.sound.DLSSample.info:Lcom/sun/media/sound/DLSInfo;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/sound/DLSSample;
public com.sun.media.sound.DLSInfo getInfo();
descriptor: ()Lcom/sun/media/sound/DLSInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.DLSSample.info:Lcom/sun/media/sound/DLSInfo;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/DLSSample;
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.DLSSample.getFormat:()Ljavax/sound/sampled/AudioFormat;
astore 1
start local 1 1: aload 0
getfield com.sun.media.sound.DLSSample.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.DLSSample.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/DLSSample;
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.DLSSample.data:Lcom/sun/media/sound/ModelByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/DLSSample;
public javax.sound.sampled.AudioFormat getFormat();
descriptor: ()Ljavax/sound/sampled/AudioFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.DLSSample.format:Ljavax/sound/sampled/AudioFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/DLSSample;
public void setFormat(javax.sound.sampled.AudioFormat);
descriptor: (Ljavax/sound/sampled/AudioFormat;)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.DLSSample.format:Ljavax/sound/sampled/AudioFormat;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/DLSSample;
0 2 1 format Ljavax/sound/sampled/AudioFormat;
MethodParameters:
Name Flags
format
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.DLSSample.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/DLSSample;
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.DLSSample.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/DLSSample;
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.DLSSample.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/DLSSample;
0 2 1 data [B
0 2 2 offset I
0 2 3 length I
MethodParameters:
Name Flags
data
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.DLSSample.info:Lcom/sun/media/sound/DLSInfo;
getfield com.sun.media.sound.DLSInfo.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/DLSSample;
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
getfield com.sun.media.sound.DLSSample.info:Lcom/sun/media/sound/DLSInfo;
aload 1
putfield com.sun.media.sound.DLSInfo.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/DLSSample;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public com.sun.media.sound.DLSSampleOptions getSampleoptions();
descriptor: ()Lcom/sun/media/sound/DLSSampleOptions;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.DLSSample.sampleoptions:Lcom/sun/media/sound/DLSSampleOptions;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/DLSSample;
public void setSampleoptions(com.sun.media.sound.DLSSampleOptions);
descriptor: (Lcom/sun/media/sound/DLSSampleOptions;)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.DLSSample.sampleoptions:Lcom/sun/media/sound/DLSSampleOptions;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/DLSSample;
0 2 1 sampleOptions Lcom/sun/media/sound/DLSSampleOptions;
MethodParameters:
Name Flags
sampleOptions
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.DLSSample.info:Lcom/sun/media/sound/DLSInfo;
getfield com.sun.media.sound.DLSInfo.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/DLSSample;
public byte[] getGuid();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.DLSSample.guid:[B
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.sun.media.sound.DLSSample.guid:[B
aload 0
getfield com.sun.media.sound.DLSSample.guid:[B
arraylength
invokestatic java.util.Arrays.copyOf:([BI)[B
StackMap locals:
StackMap stack: byte[]
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/sound/DLSSample;
public void setGuid(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack: com.sun.media.sound.DLSSample
1: aload 1
aload 1
arraylength
invokestatic java.util.Arrays.copyOf:([BI)[B
StackMap locals: com.sun.media.sound.DLSSample byte[]
StackMap stack: com.sun.media.sound.DLSSample byte[]
2: putfield com.sun.media.sound.DLSSample.guid:[B
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/media/sound/DLSSample;
0 4 1 guid [B
MethodParameters:
Name Flags
guid
}
SourceFile: "DLSSample.java"