public final class com.sun.media.sound.SoftSynthesizer implements com.sun.media.sound.AudioSynthesizer, com.sun.media.sound.ReferenceCountingDevice
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.media.sound.SoftSynthesizer
super_class: java.lang.Object
{
static final java.lang.String INFO_NAME;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "Gervill"
static final java.lang.String INFO_VENDOR;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "OpenJDK"
static final java.lang.String INFO_DESCRIPTION;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "Software MIDI Synthesizer"
static final java.lang.String INFO_VERSION;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "1.0"
static final javax.sound.midi.MidiDevice$Info info;
descriptor: Ljavax/sound/midi/MidiDevice$Info;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static javax.sound.sampled.SourceDataLine testline;
descriptor: Ljavax/sound/sampled/SourceDataLine;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.sound.midi.Soundbank defaultSoundBank;
descriptor: Ljavax/sound/midi/Soundbank;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
com.sun.media.sound.SoftSynthesizer$WeakAudioStream weakstream;
descriptor: Lcom/sun/media/sound/SoftSynthesizer$WeakAudioStream;
flags: (0x0000)
final java.lang.Object control_mutex;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
int voiceIDCounter;
descriptor: I
flags: (0x0000)
int voice_allocation_mode;
descriptor: I
flags: (0x0000)
boolean load_default_soundbank;
descriptor: Z
flags: (0x0000)
boolean reverb_light;
descriptor: Z
flags: (0x0000)
boolean reverb_on;
descriptor: Z
flags: (0x0000)
boolean chorus_on;
descriptor: Z
flags: (0x0000)
boolean agc_on;
descriptor: Z
flags: (0x0000)
com.sun.media.sound.SoftChannel[] channels;
descriptor: [Lcom/sun/media/sound/SoftChannel;
flags: (0x0000)
com.sun.media.sound.SoftChannelProxy[] external_channels;
descriptor: [Lcom/sun/media/sound/SoftChannelProxy;
flags: (0x0000)
private boolean largemode;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int gmmode;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int deviceid;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private javax.sound.sampled.AudioFormat format;
descriptor: Ljavax/sound/sampled/AudioFormat;
flags: (0x0002) ACC_PRIVATE
private javax.sound.sampled.SourceDataLine sourceDataLine;
descriptor: Ljavax/sound/sampled/SourceDataLine;
flags: (0x0002) ACC_PRIVATE
private com.sun.media.sound.SoftAudioPusher pusher;
descriptor: Lcom/sun/media/sound/SoftAudioPusher;
flags: (0x0002) ACC_PRIVATE
private javax.sound.sampled.AudioInputStream pusher_stream;
descriptor: Ljavax/sound/sampled/AudioInputStream;
flags: (0x0002) ACC_PRIVATE
private float controlrate;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private boolean open;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean implicitOpen;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String resamplerType;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private com.sun.media.sound.SoftResampler resampler;
descriptor: Lcom/sun/media/sound/SoftResampler;
flags: (0x0002) ACC_PRIVATE
private int number_of_midi_channels;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int maxpoly;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long latency;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private boolean jitter_correction;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private com.sun.media.sound.SoftMainMixer mainmixer;
descriptor: Lcom/sun/media/sound/SoftMainMixer;
flags: (0x0002) ACC_PRIVATE
private com.sun.media.sound.SoftVoice[] voices;
descriptor: [Lcom/sun/media/sound/SoftVoice;
flags: (0x0002) ACC_PRIVATE
private final java.util.Map<java.lang.String, com.sun.media.sound.SoftTuning> tunings;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/media/sound/SoftTuning;>;
private final java.util.Map<java.lang.String, com.sun.media.sound.SoftInstrument> inslist;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/media/sound/SoftInstrument;>;
private final java.util.Map<java.lang.String, com.sun.media.sound.ModelInstrument> loadedlist;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/sun/media/sound/ModelInstrument;>;
private final java.util.ArrayList<javax.sound.midi.Receiver> recvslist;
descriptor: Ljava/util/ArrayList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/ArrayList<Ljavax/sound/midi/Receiver;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.media.sound.SoftSynthesizer$Info
dup
invokespecial com.sun.media.sound.SoftSynthesizer$Info.<init>:()V
putstatic com.sun.media.sound.SoftSynthesizer.info:Ljavax/sound/midi/MidiDevice$Info;
1: aconst_null
putstatic com.sun.media.sound.SoftSynthesizer.testline:Ljavax/sound/sampled/SourceDataLine;
2: aconst_null
putstatic com.sun.media.sound.SoftSynthesizer.defaultSoundBank:Ljavax/sound/midi/Soundbank;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.media.sound.SoftSynthesizer.weakstream:Lcom/sun/media/sound/SoftSynthesizer$WeakAudioStream;
2: aload 0
aload 0
putfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
3: aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.voiceIDCounter:I
4: aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.voice_allocation_mode:I
5: aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.load_default_soundbank:Z
6: aload 0
iconst_1
putfield com.sun.media.sound.SoftSynthesizer.reverb_light:Z
7: aload 0
iconst_1
putfield com.sun.media.sound.SoftSynthesizer.reverb_on:Z
8: aload 0
iconst_1
putfield com.sun.media.sound.SoftSynthesizer.chorus_on:Z
9: aload 0
iconst_1
putfield com.sun.media.sound.SoftSynthesizer.agc_on:Z
10: aload 0
aconst_null
putfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
11: aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.largemode:Z
12: aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.gmmode:I
13: aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.deviceid:I
14: aload 0
new javax.sound.sampled.AudioFormat
dup
ldc 44100.0
bipush 16
iconst_2
iconst_1
iconst_0
invokespecial javax.sound.sampled.AudioFormat.<init>:(FIIZZ)V
putfield com.sun.media.sound.SoftSynthesizer.format:Ljavax/sound/sampled/AudioFormat;
15: aload 0
aconst_null
putfield com.sun.media.sound.SoftSynthesizer.sourceDataLine:Ljavax/sound/sampled/SourceDataLine;
16: aload 0
aconst_null
putfield com.sun.media.sound.SoftSynthesizer.pusher:Lcom/sun/media/sound/SoftAudioPusher;
17: aload 0
aconst_null
putfield com.sun.media.sound.SoftSynthesizer.pusher_stream:Ljavax/sound/sampled/AudioInputStream;
18: aload 0
ldc 147.0
putfield com.sun.media.sound.SoftSynthesizer.controlrate:F
19: aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.open:Z
20: aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.implicitOpen:Z
21: aload 0
ldc "linear"
putfield com.sun.media.sound.SoftSynthesizer.resamplerType:Ljava/lang/String;
22: aload 0
new com.sun.media.sound.SoftLinearResampler
dup
invokespecial com.sun.media.sound.SoftLinearResampler.<init>:()V
putfield com.sun.media.sound.SoftSynthesizer.resampler:Lcom/sun/media/sound/SoftResampler;
23: aload 0
bipush 16
putfield com.sun.media.sound.SoftSynthesizer.number_of_midi_channels:I
24: aload 0
bipush 64
putfield com.sun.media.sound.SoftSynthesizer.maxpoly:I
25: aload 0
ldc 200000
putfield com.sun.media.sound.SoftSynthesizer.latency:J
26: aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.jitter_correction:Z
27: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.media.sound.SoftSynthesizer.tunings:Ljava/util/Map;
28: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.media.sound.SoftSynthesizer.inslist:Ljava/util/Map;
29: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.media.sound.SoftSynthesizer.loadedlist:Ljava/util/Map;
30: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.sun.media.sound.SoftSynthesizer.recvslist:Ljava/util/ArrayList;
31: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lcom/sun/media/sound/SoftSynthesizer;
private void getBuffers(com.sun.media.sound.ModelInstrument, java.util.List<com.sun.media.sound.ModelByteBuffer>);
descriptor: (Lcom/sun/media/sound/ModelInstrument;Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.sun.media.sound.ModelInstrument.getPerformers:()[Lcom/sun/media/sound/ModelPerformer;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 15
StackMap locals: com.sun.media.sound.SoftSynthesizer com.sun.media.sound.ModelInstrument java.util.List top int int com.sun.media.sound.ModelPerformer[]
StackMap stack:
1: aload 6
iload 4
aaload
astore 3
start local 3 2: aload 3
invokevirtual com.sun.media.sound.ModelPerformer.getOscillators:()Ljava/util/List;
ifnull 14
3: aload 3
invokevirtual com.sun.media.sound.ModelPerformer.getOscillators:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 13
StackMap locals: com.sun.media.sound.SoftSynthesizer com.sun.media.sound.ModelInstrument java.util.List com.sun.media.sound.ModelPerformer int int com.sun.media.sound.ModelPerformer[] top java.util.Iterator
StackMap stack:
4: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.ModelOscillator
astore 7
start local 7 5: aload 7
instanceof com.sun.media.sound.ModelByteBufferWavetable
ifeq 13
6: aload 7
checkcast com.sun.media.sound.ModelByteBufferWavetable
astore 9
start local 9 7: aload 9
invokevirtual com.sun.media.sound.ModelByteBufferWavetable.getBuffer:()Lcom/sun/media/sound/ModelByteBuffer;
astore 10
start local 10 8: aload 10
ifnull 10
9: aload 2
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: StackMap locals: com.sun.media.sound.SoftSynthesizer com.sun.media.sound.ModelInstrument java.util.List com.sun.media.sound.ModelPerformer int int com.sun.media.sound.ModelPerformer[] com.sun.media.sound.ModelOscillator java.util.Iterator com.sun.media.sound.ModelByteBufferWavetable com.sun.media.sound.ModelByteBuffer
StackMap stack:
aload 9
invokevirtual com.sun.media.sound.ModelByteBufferWavetable.get8BitExtensionBuffer:()Lcom/sun/media/sound/ModelByteBuffer;
astore 10
11: aload 10
ifnull 13
12: aload 2
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 9 end local 7 13: StackMap locals: com.sun.media.sound.SoftSynthesizer com.sun.media.sound.ModelInstrument java.util.List com.sun.media.sound.ModelPerformer int int com.sun.media.sound.ModelPerformer[] top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 3 14: StackMap locals: com.sun.media.sound.SoftSynthesizer com.sun.media.sound.ModelInstrument java.util.List top int int com.sun.media.sound.ModelPerformer[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
iload 5
if_icmplt 1
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 17 1 instrument Lcom/sun/media/sound/ModelInstrument;
0 17 2 buffers Ljava/util/List<Lcom/sun/media/sound/ModelByteBuffer;>;
2 14 3 performer Lcom/sun/media/sound/ModelPerformer;
5 13 7 osc Lcom/sun/media/sound/ModelOscillator;
7 13 9 w Lcom/sun/media/sound/ModelByteBufferWavetable;
8 13 10 buff Lcom/sun/media/sound/ModelByteBuffer;
Signature: (Lcom/sun/media/sound/ModelInstrument;Ljava/util/List<Lcom/sun/media/sound/ModelByteBuffer;>;)V
MethodParameters:
Name Flags
instrument
buffers
private boolean loadSamples(java.util.List<com.sun.media.sound.ModelInstrument>);
descriptor: (Ljava/util/List;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.media.sound.SoftSynthesizer.largemode:Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.List java.util.List top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.media.sound.ModelInstrument
astore 3
start local 3 5: aload 0
aload 3
aload 2
invokevirtual com.sun.media.sound.SoftSynthesizer.getBuffers:(Lcom/sun/media/sound/ModelInstrument;Ljava/util/List;)V
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 2
invokestatic com.sun.media.sound.ModelByteBuffer.loadAll:(Ljava/util/Collection;)V
8: goto 11
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.List java.util.List
StackMap stack: java.io.IOException
9: pop
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 12 1 instruments Ljava/util/List<Lcom/sun/media/sound/ModelInstrument;>;
3 12 2 buffers Ljava/util/List<Lcom/sun/media/sound/ModelByteBuffer;>;
5 6 3 instrument Lcom/sun/media/sound/ModelInstrument;
Exception table:
from to target type
7 8 9 Class java.io.IOException
Signature: (Ljava/util/List<Lcom/sun/media/sound/ModelInstrument;>;)Z
MethodParameters:
Name Flags
instruments
private boolean loadInstruments(java.util.List<com.sun.media.sound.ModelInstrument>);
descriptor: (Ljava/util/List;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.media.sound.SoftSynthesizer.loadSamples:(Ljava/util/List;)Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 2
monitorenter
5: aload 0
getfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
ifnull 12
6: aload 0
getfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 11
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.List java.lang.Object top int int com.sun.media.sound.SoftChannel[]
StackMap stack:
7: aload 6
iload 4
aaload
astore 3
start local 3 8: aload 3
aconst_null
putfield com.sun.media.sound.SoftChannel.current_instrument:Lcom/sun/media/sound/SoftInstrument;
9: aload 3
aconst_null
putfield com.sun.media.sound.SoftChannel.current_director:Lcom/sun/media/sound/ModelDirector;
end local 3 10: iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 5
if_icmplt 7
12: StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.List java.lang.Object
StackMap stack:
aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 19
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.List java.lang.Object top java.util.Iterator
StackMap stack:
13: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.sound.midi.Instrument
astore 3
start local 3 14: aload 0
aload 3
invokevirtual javax.sound.midi.Instrument.getPatch:()Ljavax/sound/midi/Patch;
invokevirtual com.sun.media.sound.SoftSynthesizer.patchToString:(Ljavax/sound/midi/Patch;)Ljava/lang/String;
astore 5
start local 5 15: new com.sun.media.sound.SoftInstrument
dup
aload 3
checkcast com.sun.media.sound.ModelInstrument
invokespecial com.sun.media.sound.SoftInstrument.<init>:(Lcom/sun/media/sound/ModelInstrument;)V
16: astore 6
start local 6 17: aload 0
getfield com.sun.media.sound.SoftSynthesizer.inslist:Ljava/util/Map;
aload 5
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: aload 0
getfield com.sun.media.sound.SoftSynthesizer.loadedlist:Ljava/util/Map;
aload 5
aload 3
checkcast com.sun.media.sound.ModelInstrument
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 5 end local 3 19: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
20: aload 2
monitorexit
21: goto 24
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.List java.lang.Object
StackMap stack: java.lang.Throwable
22: aload 2
monitorexit
23: athrow
24: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 25 1 instruments Ljava/util/List<Lcom/sun/media/sound/ModelInstrument;>;
8 10 3 c Lcom/sun/media/sound/SoftChannel;
14 19 3 instrument Ljavax/sound/midi/Instrument;
15 19 5 pat Ljava/lang/String;
17 19 6 softins Lcom/sun/media/sound/SoftInstrument;
Exception table:
from to target type
5 21 22 any
22 23 22 any
Signature: (Ljava/util/List<Lcom/sun/media/sound/ModelInstrument;>;)Z
MethodParameters:
Name Flags
instruments
private void processPropertyInfo(java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.media.sound.SoftSynthesizer.getPropertyInfo:(Ljava/util/Map;)[Lcom/sun/media/sound/AudioSynthesizerPropertyInfo;
astore 2
start local 2 1: aload 2
iconst_0
aaload
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 2: aload 3
ldc "point"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
3: aload 0
new com.sun.media.sound.SoftPointResampler
dup
invokespecial com.sun.media.sound.SoftPointResampler.<init>:()V
putfield com.sun.media.sound.SoftSynthesizer.resampler:Lcom/sun/media/sound/SoftResampler;
4: aload 0
ldc "point"
putfield com.sun.media.sound.SoftSynthesizer.resamplerType:Ljava/lang/String;
5: goto 29
6: StackMap locals: com.sun.media.sound.AudioSynthesizerPropertyInfo[] java.lang.String
StackMap stack:
aload 3
ldc "linear"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
7: aload 0
new com.sun.media.sound.SoftLinearResampler2
dup
invokespecial com.sun.media.sound.SoftLinearResampler2.<init>:()V
putfield com.sun.media.sound.SoftSynthesizer.resampler:Lcom/sun/media/sound/SoftResampler;
8: aload 0
ldc "linear"
putfield com.sun.media.sound.SoftSynthesizer.resamplerType:Ljava/lang/String;
9: goto 29
10: StackMap locals:
StackMap stack:
aload 3
ldc "linear1"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 14
11: aload 0
new com.sun.media.sound.SoftLinearResampler
dup
invokespecial com.sun.media.sound.SoftLinearResampler.<init>:()V
putfield com.sun.media.sound.SoftSynthesizer.resampler:Lcom/sun/media/sound/SoftResampler;
12: aload 0
ldc "linear1"
putfield com.sun.media.sound.SoftSynthesizer.resamplerType:Ljava/lang/String;
13: goto 29
14: StackMap locals:
StackMap stack:
aload 3
ldc "linear2"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 18
15: aload 0
new com.sun.media.sound.SoftLinearResampler2
dup
invokespecial com.sun.media.sound.SoftLinearResampler2.<init>:()V
putfield com.sun.media.sound.SoftSynthesizer.resampler:Lcom/sun/media/sound/SoftResampler;
16: aload 0
ldc "linear2"
putfield com.sun.media.sound.SoftSynthesizer.resamplerType:Ljava/lang/String;
17: goto 29
18: StackMap locals:
StackMap stack:
aload 3
ldc "cubic"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 22
19: aload 0
new com.sun.media.sound.SoftCubicResampler
dup
invokespecial com.sun.media.sound.SoftCubicResampler.<init>:()V
putfield com.sun.media.sound.SoftSynthesizer.resampler:Lcom/sun/media/sound/SoftResampler;
20: aload 0
ldc "cubic"
putfield com.sun.media.sound.SoftSynthesizer.resamplerType:Ljava/lang/String;
21: goto 29
22: StackMap locals:
StackMap stack:
aload 3
ldc "lanczos"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 26
23: aload 0
new com.sun.media.sound.SoftLanczosResampler
dup
invokespecial com.sun.media.sound.SoftLanczosResampler.<init>:()V
putfield com.sun.media.sound.SoftSynthesizer.resampler:Lcom/sun/media/sound/SoftResampler;
24: aload 0
ldc "lanczos"
putfield com.sun.media.sound.SoftSynthesizer.resamplerType:Ljava/lang/String;
25: goto 29
26: StackMap locals:
StackMap stack:
aload 3
ldc "sinc"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 29
27: aload 0
new com.sun.media.sound.SoftSincResampler
dup
invokespecial com.sun.media.sound.SoftSincResampler.<init>:()V
putfield com.sun.media.sound.SoftSynthesizer.resampler:Lcom/sun/media/sound/SoftResampler;
28: aload 0
ldc "sinc"
putfield com.sun.media.sound.SoftSynthesizer.resamplerType:Ljava/lang/String;
29: StackMap locals:
StackMap stack:
aload 0
aload 2
iconst_2
aaload
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
checkcast javax.sound.sampled.AudioFormat
invokevirtual com.sun.media.sound.SoftSynthesizer.setFormat:(Ljavax/sound/sampled/AudioFormat;)V
30: aload 0
aload 2
iconst_1
aaload
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
checkcast java.lang.Float
invokevirtual java.lang.Float.floatValue:()F
putfield com.sun.media.sound.SoftSynthesizer.controlrate:F
31: aload 0
aload 2
iconst_3
aaload
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
putfield com.sun.media.sound.SoftSynthesizer.latency:J
32: aload 0
aload 2
iconst_4
aaload
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
putfield com.sun.media.sound.SoftSynthesizer.deviceid:I
33: aload 0
aload 2
iconst_5
aaload
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
putfield com.sun.media.sound.SoftSynthesizer.maxpoly:I
34: aload 0
aload 2
bipush 6
aaload
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield com.sun.media.sound.SoftSynthesizer.reverb_on:Z
35: aload 0
aload 2
bipush 7
aaload
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield com.sun.media.sound.SoftSynthesizer.chorus_on:Z
36: aload 0
aload 2
bipush 8
aaload
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield com.sun.media.sound.SoftSynthesizer.agc_on:Z
37: aload 0
aload 2
bipush 9
aaload
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield com.sun.media.sound.SoftSynthesizer.largemode:Z
38: aload 0
aload 2
bipush 10
aaload
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
putfield com.sun.media.sound.SoftSynthesizer.number_of_midi_channels:I
39: aload 0
aload 2
bipush 11
aaload
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield com.sun.media.sound.SoftSynthesizer.jitter_correction:Z
40: aload 0
aload 2
bipush 12
aaload
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield com.sun.media.sound.SoftSynthesizer.reverb_light:Z
41: aload 0
aload 2
bipush 13
aaload
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield com.sun.media.sound.SoftSynthesizer.load_default_soundbank:Z
42: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 43 1 info Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
1 43 2 items [Lcom/sun/media/sound/AudioSynthesizerPropertyInfo;
2 43 3 resamplerType Ljava/lang/String;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
info
private java.lang.String patchToString(javax.sound.midi.Patch);
descriptor: (Ljavax/sound/midi/Patch;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.sun.media.sound.ModelPatch
ifeq 2
aload 1
checkcast com.sun.media.sound.ModelPatch
invokevirtual com.sun.media.sound.ModelPatch.isPercussion:()Z
ifeq 2
1: new java.lang.StringBuilder
dup
ldc "p."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual javax.sound.midi.Patch.getProgram:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual javax.sound.midi.Patch.getBank:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 1
invokevirtual javax.sound.midi.Patch.getProgram:()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 1
invokevirtual javax.sound.midi.Patch.getBank:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 3 1 patch Ljavax/sound/midi/Patch;
MethodParameters:
Name Flags
patch
private void setFormat(javax.sound.sampled.AudioFormat);
descriptor: (Ljavax/sound/sampled/AudioFormat;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.sound.sampled.AudioFormat.getChannels:()I
iconst_2
if_icmple 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "Only mono and stereo audio supported."
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
invokestatic com.sun.media.sound.AudioFloatConverter.getConverter:(Ljavax/sound/sampled/AudioFormat;)Lcom/sun/media/sound/AudioFloatConverter;
ifnonnull 6
5: new java.lang.IllegalArgumentException
dup
ldc "Audio format not supported."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.media.sound.SoftSynthesizer.format:Ljavax/sound/sampled/AudioFormat;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 8 1 format Ljavax/sound/sampled/AudioFormat;
MethodParameters:
Name Flags
format
void removeReceiver(javax.sound.midi.Receiver);
descriptor: (Ljavax/sound/midi/Receiver;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 3
monitorenter
2: aload 0
getfield com.sun.media.sound.SoftSynthesizer.recvslist:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.remove:(Ljava/lang/Object;)Z
ifeq 5
3: aload 0
getfield com.sun.media.sound.SoftSynthesizer.implicitOpen:Z
ifeq 5
aload 0
getfield com.sun.media.sound.SoftSynthesizer.recvslist:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.isEmpty:()Z
ifeq 5
4: iconst_1
istore 2
5: StackMap locals: int java.lang.Object
StackMap stack:
aload 3
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 3
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
iload 2
ifeq 11
10: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.close:()V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 12 1 recv Ljavax/sound/midi/Receiver;
1 12 2 perform_close Z
Exception table:
from to target type
2 6 7 any
7 8 7 any
MethodParameters:
Name Flags
recv
com.sun.media.sound.SoftMainMixer getMainMixer();
descriptor: ()Lcom/sun/media/sound/SoftMainMixer;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.mainmixer:Lcom/sun/media/sound/SoftMainMixer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/media/sound/SoftSynthesizer;
com.sun.media.sound.SoftInstrument findInstrument(int, int, int);
descriptor: (III)Lcom/sun/media/sound/SoftInstrument;
flags: (0x0000)
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
bipush 7
ishr
bipush 120
if_icmpeq 1
iload 2
bipush 7
ishr
bipush 121
if_icmpne 26
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.inslist:Ljava/util/Map;
new java.lang.StringBuilder
dup
iload 1
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;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.media.sound.SoftInstrument
2: astore 4
start local 4 3: aload 4
ifnull 5
4: aload 4
areturn
5: StackMap locals: com.sun.media.sound.SoftInstrument
StackMap stack:
iload 2
bipush 7
ishr
bipush 120
if_icmpne 8
6: ldc "p."
astore 5
start local 5 7: goto 9
end local 5 8: StackMap locals:
StackMap stack:
ldc ""
astore 5
start local 5 9: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.inslist:Ljava/util/Map;
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: iload 2
sipush 128
iand
bipush 7
ishl
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.media.sound.SoftInstrument
astore 4
12: aload 4
ifnull 14
13: aload 4
areturn
14: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.inslist:Ljava/util/Map;
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: iload 2
sipush 128
iand
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.media.sound.SoftInstrument
astore 4
17: aload 4
ifnull 19
18: aload 4
areturn
19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.inslist:Ljava/util/Map;
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ".0"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.media.sound.SoftInstrument
astore 4
20: aload 4
ifnull 22
21: aload 4
areturn
22: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.inslist:Ljava/util/Map;
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "0.0"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.media.sound.SoftInstrument
astore 4
23: aload 4
ifnull 25
24: aload 4
areturn
25: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 5 end local 4 26: StackMap locals:
StackMap stack:
iload 3
bipush 9
if_icmpne 29
27: ldc "p."
astore 4
start local 4 28: goto 30
end local 4 29: StackMap locals:
StackMap stack:
ldc ""
astore 4
start local 4 30: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.inslist:Ljava/util/Map;
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.media.sound.SoftInstrument
31: astore 5
start local 5 32: aload 5
ifnull 34
33: aload 5
areturn
34: StackMap locals: com.sun.media.sound.SoftInstrument
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.inslist:Ljava/util/Map;
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ".0"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.media.sound.SoftInstrument
astore 5
35: aload 5
ifnull 37
36: aload 5
areturn
37: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.inslist:Ljava/util/Map;
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "0.0"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.media.sound.SoftInstrument
astore 5
38: aload 5
ifnull 40
39: aload 5
areturn
40: StackMap locals:
StackMap stack:
aconst_null
areturn
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 41 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 41 1 program I
0 41 2 bank I
0 41 3 channel I
3 26 4 current_instrument Lcom/sun/media/sound/SoftInstrument;
7 8 5 p_plaf Ljava/lang/String;
9 26 5 p_plaf Ljava/lang/String;
28 29 4 p_plaf Ljava/lang/String;
30 41 4 p_plaf Ljava/lang/String;
32 41 5 current_instrument Lcom/sun/media/sound/SoftInstrument;
MethodParameters:
Name Flags
program
bank
channel
int getVoiceAllocationMode();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftSynthesizer.voice_allocation_mode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftSynthesizer;
int getGeneralMidiMode();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftSynthesizer.gmmode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftSynthesizer;
void setGeneralMidiMode(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.media.sound.SoftSynthesizer.gmmode:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 2 1 gmmode I
MethodParameters:
Name Flags
gmmode
int getDeviceID();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftSynthesizer.deviceid:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftSynthesizer;
float getControlRate();
descriptor: ()F
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftSynthesizer.controlrate:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftSynthesizer;
com.sun.media.sound.SoftVoice[] getVoices();
descriptor: ()[Lcom/sun/media/sound/SoftVoice;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftSynthesizer.voices:[Lcom/sun/media/sound/SoftVoice;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftSynthesizer;
com.sun.media.sound.SoftTuning getTuning(javax.sound.midi.Patch);
descriptor: (Ljavax/sound/midi/Patch;)Lcom/sun/media/sound/SoftTuning;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual com.sun.media.sound.SoftSynthesizer.patchToString:(Ljavax/sound/midi/Patch;)Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield com.sun.media.sound.SoftSynthesizer.tunings:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.media.sound.SoftTuning
astore 3
start local 3 2: aload 3
ifnonnull 5
3: new com.sun.media.sound.SoftTuning
dup
aload 1
invokespecial com.sun.media.sound.SoftTuning.<init>:(Ljavax/sound/midi/Patch;)V
astore 3
4: aload 0
getfield com.sun.media.sound.SoftSynthesizer.tunings:Ljava/util/Map;
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: java.lang.String com.sun.media.sound.SoftTuning
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 6 1 patch Ljavax/sound/midi/Patch;
1 6 2 t_id Ljava/lang/String;
2 6 3 tuning Lcom/sun/media/sound/SoftTuning;
MethodParameters:
Name Flags
patch
public long getLatency();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.media.sound.SoftSynthesizer.latency:J
aload 1
monitorexit
2: lreturn
3: StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/SoftSynthesizer;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public javax.sound.sampled.AudioFormat getFormat();
descriptor: ()Ljavax/sound/sampled/AudioFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.media.sound.SoftSynthesizer.format:Ljavax/sound/sampled/AudioFormat;
aload 1
monitorexit
2: areturn
3: StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/SoftSynthesizer;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public int getMaxPolyphony();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.media.sound.SoftSynthesizer.maxpoly:I
aload 1
monitorexit
2: ireturn
3: StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/SoftSynthesizer;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public javax.sound.midi.MidiChannel[] getChannels();
descriptor: ()[Ljavax/sound/midi/MidiChannel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
ifnonnull 8
2: aload 0
bipush 16
anewarray com.sun.media.sound.SoftChannelProxy
putfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
3: iconst_0
istore 2
start local 2 4: goto 7
5: StackMap locals: java.lang.Object int
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
iload 2
new com.sun.media.sound.SoftChannelProxy
dup
invokespecial com.sun.media.sound.SoftChannelProxy.<init>:()V
aastore
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
arraylength
if_icmplt 5
end local 2 8: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifeq 11
9: aload 0
getfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
arraylength
anewarray javax.sound.midi.MidiChannel
astore 2
start local 2 10: goto 12
end local 2 11: StackMap locals:
StackMap stack:
bipush 16
anewarray javax.sound.midi.MidiChannel
astore 2
start local 2 12: StackMap locals: javax.sound.midi.MidiChannel[]
StackMap stack:
iconst_0
istore 3
start local 3 13: goto 16
14: StackMap locals: int
StackMap stack:
aload 2
iload 3
aload 0
getfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
iload 3
aaload
aastore
15: iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
aload 2
arraylength
if_icmplt 14
end local 3 17: aload 2
aload 1
monitorexit
18: areturn
end local 2 19: StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
20: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/media/sound/SoftSynthesizer;
4 8 2 i I
10 11 2 ret [Ljavax/sound/midi/MidiChannel;
12 19 2 ret [Ljavax/sound/midi/MidiChannel;
13 17 3 i I
Exception table:
from to target type
1 18 19 any
19 20 19 any
public javax.sound.midi.VoiceStatus[] getVoiceStatus();
descriptor: ()[Ljavax/sound/midi/VoiceStatus;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifne 16
1: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.getMaxPolyphony:()I
anewarray javax.sound.midi.VoiceStatus
2: astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: goto 14
5: StackMap locals: javax.sound.midi.VoiceStatus[] int
StackMap stack:
new javax.sound.midi.VoiceStatus
dup
invokespecial javax.sound.midi.VoiceStatus.<init>:()V
astore 3
start local 3 6: aload 3
iconst_0
putfield javax.sound.midi.VoiceStatus.active:Z
7: aload 3
iconst_0
putfield javax.sound.midi.VoiceStatus.bank:I
8: aload 3
iconst_0
putfield javax.sound.midi.VoiceStatus.channel:I
9: aload 3
iconst_0
putfield javax.sound.midi.VoiceStatus.note:I
10: aload 3
iconst_0
putfield javax.sound.midi.VoiceStatus.program:I
11: aload 3
iconst_0
putfield javax.sound.midi.VoiceStatus.volume:I
12: aload 1
iload 2
aload 3
aastore
end local 3 13: iinc 2 1
StackMap locals:
StackMap stack:
14: iload 2
aload 1
arraylength
if_icmplt 5
end local 2 15: aload 1
areturn
end local 1 16: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 1
monitorenter
17: aload 0
getfield com.sun.media.sound.SoftSynthesizer.voices:[Lcom/sun/media/sound/SoftVoice;
arraylength
anewarray javax.sound.midi.VoiceStatus
astore 2
start local 2 18: iconst_0
istore 3
start local 3 19: goto 30
20: StackMap locals: java.lang.Object javax.sound.midi.VoiceStatus[] int
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.voices:[Lcom/sun/media/sound/SoftVoice;
iload 3
aaload
astore 4
start local 4 21: new javax.sound.midi.VoiceStatus
dup
invokespecial javax.sound.midi.VoiceStatus.<init>:()V
astore 5
start local 5 22: aload 5
aload 4
getfield javax.sound.midi.VoiceStatus.active:Z
putfield javax.sound.midi.VoiceStatus.active:Z
23: aload 5
aload 4
getfield javax.sound.midi.VoiceStatus.bank:I
putfield javax.sound.midi.VoiceStatus.bank:I
24: aload 5
aload 4
getfield javax.sound.midi.VoiceStatus.channel:I
putfield javax.sound.midi.VoiceStatus.channel:I
25: aload 5
aload 4
getfield javax.sound.midi.VoiceStatus.note:I
putfield javax.sound.midi.VoiceStatus.note:I
26: aload 5
aload 4
getfield javax.sound.midi.VoiceStatus.program:I
putfield javax.sound.midi.VoiceStatus.program:I
27: aload 5
aload 4
getfield javax.sound.midi.VoiceStatus.volume:I
putfield javax.sound.midi.VoiceStatus.volume:I
28: aload 2
iload 3
aload 5
aastore
end local 5 end local 4 29: iinc 3 1
StackMap locals:
StackMap stack:
30: iload 3
aload 0
getfield com.sun.media.sound.SoftSynthesizer.voices:[Lcom/sun/media/sound/SoftVoice;
arraylength
if_icmplt 20
end local 3 31: aload 2
aload 1
monitorexit
32: areturn
end local 2 33: StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
34: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lcom/sun/media/sound/SoftSynthesizer;
3 16 1 tempVoiceStatusArray [Ljavax/sound/midi/VoiceStatus;
4 15 2 i I
6 13 3 b Ljavax/sound/midi/VoiceStatus;
18 33 2 tempVoiceStatusArray [Ljavax/sound/midi/VoiceStatus;
19 31 3 i I
21 29 4 a Ljavax/sound/midi/VoiceStatus;
22 29 5 b Ljavax/sound/midi/VoiceStatus;
Exception table:
from to target type
17 32 33 any
33 34 33 any
public boolean isSoundbankSupported(javax.sound.midi.Soundbank);
descriptor: (Ljavax/sound/midi/Soundbank;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface javax.sound.midi.Soundbank.getInstruments:()[Ljavax/sound/midi/Instrument;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.midi.Soundbank top int int javax.sound.midi.Instrument[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
instanceof com.sun.media.sound.ModelInstrument
ifne 4
3: iconst_0
ireturn
end local 2 4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 7 1 soundbank Ljavax/sound/midi/Soundbank;
2 4 2 ins Ljavax/sound/midi/Instrument;
MethodParameters:
Name Flags
soundbank
public boolean loadInstrument(javax.sound.midi.Instrument);
descriptor: (Ljavax/sound/midi/Instrument;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
instanceof com.sun.media.sound.ModelInstrument
ifne 4
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported instrument: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 5: aload 2
aload 1
checkcast com.sun.media.sound.ModelInstrument
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 0
aload 2
invokevirtual com.sun.media.sound.SoftSynthesizer.loadInstruments:(Ljava/util/List;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 7 1 instrument Ljavax/sound/midi/Instrument;
5 7 2 instruments Ljava/util/List<Lcom/sun/media/sound/ModelInstrument;>;
MethodParameters:
Name Flags
instrument
public void unloadInstrument(javax.sound.midi.Instrument);
descriptor: (Ljavax/sound/midi/Instrument;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
instanceof com.sun.media.sound.ModelInstrument
ifne 4
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported instrument: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
2: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifne 6
5: return
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.sound.midi.Instrument.getPatch:()Ljavax/sound/midi/Patch;
invokevirtual com.sun.media.sound.SoftSynthesizer.patchToString:(Ljavax/sound/midi/Patch;)Ljava/lang/String;
astore 2
start local 2 7: aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 3
monitorenter
8: aload 0
getfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 12
StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.midi.Instrument java.lang.String java.lang.Object top int int com.sun.media.sound.SoftChannel[]
StackMap stack:
9: aload 7
iload 5
aaload
astore 4
start local 4 10: aload 4
aconst_null
putfield com.sun.media.sound.SoftChannel.current_instrument:Lcom/sun/media/sound/SoftInstrument;
end local 4 11: iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
iload 6
if_icmplt 9
13: aload 0
getfield com.sun.media.sound.SoftSynthesizer.inslist:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 0
getfield com.sun.media.sound.SoftSynthesizer.loadedlist:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
15: iconst_0
istore 4
start local 4 16: goto 19
17: StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.midi.Instrument java.lang.String java.lang.Object int
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
iload 4
aaload
invokevirtual com.sun.media.sound.SoftChannel.allSoundOff:()V
18: iinc 4 1
StackMap locals:
StackMap stack:
19: iload 4
aload 0
getfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
arraylength
if_icmplt 17
end local 4 20: aload 3
monitorexit
21: goto 24
StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.midi.Instrument java.lang.String java.lang.Object
StackMap stack: java.lang.Throwable
22: aload 3
monitorexit
23: athrow
24: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 25 1 instrument Ljavax/sound/midi/Instrument;
7 25 2 pat Ljava/lang/String;
10 11 4 c Lcom/sun/media/sound/SoftChannel;
16 20 4 i I
Exception table:
from to target type
8 21 22 any
22 23 22 any
MethodParameters:
Name Flags
instrument
public boolean remapInstrument(javax.sound.midi.Instrument, javax.sound.midi.Instrument);
descriptor: (Ljavax/sound/midi/Instrument;Ljavax/sound/midi/Instrument;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 2
ifnonnull 4
3: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.media.sound.ModelInstrument
ifne 8
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported instrument: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 2
instanceof com.sun.media.sound.ModelInstrument
ifne 12
9: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported instrument: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: aload 2
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifne 14
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 3
monitorenter
15: aload 0
getfield com.sun.media.sound.SoftSynthesizer.loadedlist:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.containsValue:(Ljava/lang/Object;)Z
ifne 17
16: new java.lang.IllegalArgumentException
dup
ldc "Instrument to is not loaded."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 1
invokevirtual com.sun.media.sound.SoftSynthesizer.unloadInstrument:(Ljavax/sound/midi/Instrument;)V
18: new com.sun.media.sound.ModelMappedInstrument
dup
19: aload 2
checkcast com.sun.media.sound.ModelInstrument
aload 1
invokevirtual javax.sound.midi.Instrument.getPatch:()Ljavax/sound/midi/Patch;
20: invokespecial com.sun.media.sound.ModelMappedInstrument.<init>:(Lcom/sun/media/sound/ModelInstrument;Ljavax/sound/midi/Patch;)V
astore 4
start local 4 21: aload 0
aload 4
invokevirtual com.sun.media.sound.SoftSynthesizer.loadInstrument:(Ljavax/sound/midi/Instrument;)Z
aload 3
monitorexit
22: ireturn
end local 4 23: StackMap locals:
StackMap stack: java.lang.Throwable
aload 3
monitorexit
24: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 25 1 from Ljavax/sound/midi/Instrument;
0 25 2 to Ljavax/sound/midi/Instrument;
21 23 4 mfrom Lcom/sun/media/sound/ModelMappedInstrument;
Exception table:
from to target type
15 22 23 any
23 24 23 any
MethodParameters:
Name Flags
from
to
public javax.sound.midi.Soundbank getDefaultSoundbank();
descriptor: ()Ljavax/sound/midi/Soundbank;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: ldc Lcom/sun/media/sound/SoftSynthesizer;
dup
astore 1
monitorenter
1: getstatic com.sun.media.sound.SoftSynthesizer.defaultSoundBank:Ljavax/sound/midi/Soundbank;
ifnull 4
2: getstatic com.sun.media.sound.SoftSynthesizer.defaultSoundBank:Ljavax/sound/midi/Soundbank;
aload 1
monitorexit
3: areturn
4: StackMap locals: java.lang.Class
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 5: aload 2
new com.sun.media.sound.SoftSynthesizer$1
dup
aload 0
invokespecial com.sun.media.sound.SoftSynthesizer$1.<init>:(Lcom/sun/media/sound/SoftSynthesizer;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 2
new com.sun.media.sound.SoftSynthesizer$2
dup
aload 0
invokespecial com.sun.media.sound.SoftSynthesizer$2.<init>:(Lcom/sun/media/sound/SoftSynthesizer;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: aload 2
new com.sun.media.sound.SoftSynthesizer$3
dup
aload 0
invokespecial com.sun.media.sound.SoftSynthesizer$3.<init>:(Lcom/sun/media/sound/SoftSynthesizer;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 2
new com.sun.media.sound.SoftSynthesizer$4
dup
aload 0
invokespecial com.sun.media.sound.SoftSynthesizer$4.<init>:(Lcom/sun/media/sound/SoftSynthesizer;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 26
StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Class java.util.List top java.util.Iterator
StackMap stack:
10: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.PrivilegedAction
astore 3
start local 3 11: aload 3
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.io.InputStream
astore 5
start local 5 12: aload 5
ifnonnull 14
13: goto 26
14: StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Class java.util.List java.security.PrivilegedAction java.util.Iterator java.io.InputStream
StackMap stack:
new java.io.BufferedInputStream
dup
aload 5
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;)V
invokestatic javax.sound.midi.MidiSystem.getSoundbank:(Ljava/io/InputStream;)Ljavax/sound/midi/Soundbank;
astore 6
start local 6 15: goto 19
end local 6 StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 7
17: aload 5
invokevirtual java.io.InputStream.close:()V
18: aload 7
athrow
start local 6 19: StackMap locals: javax.sound.midi.Soundbank
StackMap stack:
aload 5
invokevirtual java.io.InputStream.close:()V
20: aload 6
ifnull 26
21: aload 6
putstatic com.sun.media.sound.SoftSynthesizer.defaultSoundBank:Ljavax/sound/midi/Soundbank;
22: getstatic com.sun.media.sound.SoftSynthesizer.defaultSoundBank:Ljavax/sound/midi/Soundbank;
23: aload 1
monitorexit
24: areturn
end local 6 end local 5 25: StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Class java.util.List java.security.PrivilegedAction java.util.Iterator
StackMap stack: java.lang.Exception
pop
end local 3 26: StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Class java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 10
27: invokestatic com.sun.media.sound.EmergencySoundbank.createSoundbank:()Lcom/sun/media/sound/SF2Soundbank;
putstatic com.sun.media.sound.SoftSynthesizer.defaultSoundBank:Ljavax/sound/midi/Soundbank;
28: goto 30
StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Class java.util.List
StackMap stack: java.lang.Exception
29: pop
30: StackMap locals:
StackMap stack:
getstatic com.sun.media.sound.SoftSynthesizer.defaultSoundBank:Ljavax/sound/midi/Soundbank;
ifnull 38
31: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/media/sound/SoftSynthesizer.lambda$0()Ljava/io/OutputStream; (6)
()Ljava/io/OutputStream;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.io.OutputStream
32: astore 3
start local 3 33: aload 3
ifnull 38
34: getstatic com.sun.media.sound.SoftSynthesizer.defaultSoundBank:Ljavax/sound/midi/Soundbank;
checkcast com.sun.media.sound.SF2Soundbank
aload 3
invokevirtual com.sun.media.sound.SF2Soundbank.save:(Ljava/io/OutputStream;)V
35: aload 3
invokevirtual java.io.OutputStream.close:()V
36: goto 38
StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Class java.util.List java.io.OutputStream
StackMap stack: java.io.IOException
37: pop
end local 3 end local 2 38: StackMap locals:
StackMap stack:
aload 1
monitorexit
39: goto 42
StackMap locals:
StackMap stack: java.lang.Throwable
40: aload 1
monitorexit
41: athrow
42: StackMap locals:
StackMap stack:
getstatic com.sun.media.sound.SoftSynthesizer.defaultSoundBank:Ljavax/sound/midi/Soundbank;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 43 0 this Lcom/sun/media/sound/SoftSynthesizer;
5 38 2 actions Ljava/util/List<Ljava/security/PrivilegedAction<Ljava/io/InputStream;>;>;
11 26 3 action Ljava/security/PrivilegedAction<Ljava/io/InputStream;>;
12 25 5 is Ljava/io/InputStream;
15 16 6 sbk Ljavax/sound/midi/Soundbank;
19 25 6 sbk Ljavax/sound/midi/Soundbank;
33 38 3 out Ljava/io/OutputStream;
Exception table:
from to target type
14 16 16 any
11 13 25 Class java.lang.Exception
14 23 25 Class java.lang.Exception
27 28 29 Class java.lang.Exception
34 36 37 Class java.io.IOException
1 3 40 any
4 24 40 any
25 39 40 any
40 41 40 any
public javax.sound.midi.Instrument[] getAvailableInstruments();
descriptor: ()[Ljavax/sound/midi/Instrument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.getDefaultSoundbank:()Ljavax/sound/midi/Soundbank;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: iconst_0
anewarray javax.sound.midi.Instrument
areturn
3: StackMap locals: javax.sound.midi.Soundbank
StackMap stack:
aload 1
invokeinterface javax.sound.midi.Soundbank.getInstruments:()[Ljavax/sound/midi/Instrument;
astore 2
start local 2 4: aload 2
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
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/media/sound/SoftSynthesizer;
1 6 1 defsbk Ljavax/sound/midi/Soundbank;
4 6 2 inslist_array [Ljavax/sound/midi/Instrument;
public javax.sound.midi.Instrument[] getLoadedInstruments();
descriptor: ()[Ljavax/sound/midi/Instrument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifne 2
1: iconst_0
anewarray javax.sound.midi.Instrument
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 1
monitorenter
3: aload 0
getfield com.sun.media.sound.SoftSynthesizer.loadedlist:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
anewarray com.sun.media.sound.ModelInstrument
4: astore 2
start local 2 5: aload 0
getfield com.sun.media.sound.SoftSynthesizer.loadedlist:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aload 2
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
6: aload 2
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
7: aload 2
aload 1
monitorexit
8: areturn
end local 2 9: StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
10: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/media/sound/SoftSynthesizer;
5 9 2 inslist_array [Lcom/sun/media/sound/ModelInstrument;
Exception table:
from to target type
3 8 9 any
9 10 9 any
public boolean loadAllInstruments(javax.sound.midi.Soundbank);
descriptor: (Ljavax/sound/midi/Soundbank;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, 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: aload 1
invokeinterface javax.sound.midi.Soundbank.getInstruments:()[Ljavax/sound/midi/Instrument;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 9
StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.midi.Soundbank java.util.List top int int javax.sound.midi.Instrument[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 3
ifnull 4
aload 3
instanceof com.sun.media.sound.ModelInstrument
ifne 7
4: StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.midi.Soundbank java.util.List javax.sound.midi.Instrument int int javax.sound.midi.Instrument[]
StackMap stack:
new java.lang.IllegalArgumentException
dup
5: new java.lang.StringBuilder
dup
ldc "Unsupported instrument: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 2
aload 3
checkcast com.sun.media.sound.ModelInstrument
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 8: iinc 4 1
StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.midi.Soundbank java.util.List top int int javax.sound.midi.Instrument[]
StackMap stack:
9: iload 4
iload 5
if_icmplt 2
10: aload 0
aload 2
invokevirtual com.sun.media.sound.SoftSynthesizer.loadInstruments:(Ljava/util/List;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 11 1 soundbank Ljavax/sound/midi/Soundbank;
1 11 2 instruments Ljava/util/List<Lcom/sun/media/sound/ModelInstrument;>;
3 8 3 ins Ljavax/sound/midi/Instrument;
MethodParameters:
Name Flags
soundbank
public void unloadAllInstruments(javax.sound.midi.Soundbank);
descriptor: (Ljavax/sound/midi/Soundbank;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 0
aload 1
invokevirtual com.sun.media.sound.SoftSynthesizer.isSoundbankSupported:(Ljavax/sound/midi/Soundbank;)Z
ifne 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported soundbank: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifne 4
3: return
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.sound.midi.Soundbank.getInstruments:()[Ljavax/sound/midi/Instrument;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 9
StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.midi.Soundbank top int int javax.sound.midi.Instrument[]
StackMap stack:
5: aload 5
iload 3
aaload
astore 2
start local 2 6: aload 2
instanceof com.sun.media.sound.ModelInstrument
ifeq 8
7: aload 0
aload 2
invokevirtual com.sun.media.sound.SoftSynthesizer.unloadInstrument:(Ljavax/sound/midi/Instrument;)V
end local 2 8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 4
if_icmplt 5
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 11 1 soundbank Ljavax/sound/midi/Soundbank;
6 8 2 ins Ljavax/sound/midi/Instrument;
MethodParameters:
Name Flags
soundbank
public boolean loadInstruments(javax.sound.midi.Soundbank, javax.sound.midi.Patch[]);
descriptor: (Ljavax/sound/midi/Soundbank;[Ljavax/sound/midi/Patch;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 2
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 10
StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.midi.Soundbank javax.sound.midi.Patch[] java.util.List top int int javax.sound.midi.Patch[]
StackMap stack:
2: aload 7
iload 5
aaload
astore 4
start local 4 3: aload 1
aload 4
invokeinterface javax.sound.midi.Soundbank.getInstrument:(Ljavax/sound/midi/Patch;)Ljavax/sound/midi/Instrument;
astore 8
start local 8 4: aload 8
ifnull 5
aload 8
instanceof com.sun.media.sound.ModelInstrument
ifne 8
5: StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.midi.Soundbank javax.sound.midi.Patch[] java.util.List javax.sound.midi.Patch int int javax.sound.midi.Patch[] javax.sound.midi.Instrument
StackMap stack:
new java.lang.IllegalArgumentException
dup
6: new java.lang.StringBuilder
dup
ldc "Unsupported instrument: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 3
aload 8
checkcast com.sun.media.sound.ModelInstrument
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 8 end local 4 9: iinc 5 1
StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.midi.Soundbank javax.sound.midi.Patch[] java.util.List top int int javax.sound.midi.Patch[]
StackMap stack:
10: iload 5
iload 6
if_icmplt 2
11: aload 0
aload 3
invokevirtual com.sun.media.sound.SoftSynthesizer.loadInstruments:(Ljava/util/List;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 12 1 soundbank Ljavax/sound/midi/Soundbank;
0 12 2 patchList [Ljavax/sound/midi/Patch;
1 12 3 instruments Ljava/util/List<Lcom/sun/media/sound/ModelInstrument;>;
3 9 4 patch Ljavax/sound/midi/Patch;
4 9 8 ins Ljavax/sound/midi/Instrument;
MethodParameters:
Name Flags
soundbank
patchList
public void unloadInstruments(javax.sound.midi.Soundbank, javax.sound.midi.Patch[]);
descriptor: (Ljavax/sound/midi/Soundbank;[Ljavax/sound/midi/Patch;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 0
aload 1
invokevirtual com.sun.media.sound.SoftSynthesizer.isSoundbankSupported:(Ljavax/sound/midi/Soundbank;)Z
ifne 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported soundbank: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifne 4
3: return
4: StackMap locals:
StackMap stack:
aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 10
StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.midi.Soundbank javax.sound.midi.Patch[] top int int javax.sound.midi.Patch[]
StackMap stack:
5: aload 6
iload 4
aaload
astore 3
start local 3 6: aload 1
aload 3
invokeinterface javax.sound.midi.Soundbank.getInstrument:(Ljavax/sound/midi/Patch;)Ljavax/sound/midi/Instrument;
astore 7
start local 7 7: aload 7
instanceof com.sun.media.sound.ModelInstrument
ifeq 9
8: aload 0
aload 7
invokevirtual com.sun.media.sound.SoftSynthesizer.unloadInstrument:(Ljavax/sound/midi/Instrument;)V
end local 7 end local 3 9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 5
if_icmplt 5
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 12 1 soundbank Ljavax/sound/midi/Soundbank;
0 12 2 patchList [Ljavax/sound/midi/Patch;
6 9 3 pat Ljavax/sound/midi/Patch;
7 9 7 ins Ljavax/sound/midi/Instrument;
MethodParameters:
Name Flags
soundbank
patchList
public javax.sound.midi.MidiDevice$Info getDeviceInfo();
descriptor: ()Ljavax/sound/midi/MidiDevice$Info;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.sun.media.sound.SoftSynthesizer.info:Ljavax/sound/midi/MidiDevice$Info;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftSynthesizer;
private java.util.Properties getStoredProperties();
descriptor: ()Ljava/util/Properties;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokedynamic run()Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/media/sound/SoftSynthesizer.lambda$1()Ljava/util/Properties; (6)
()Ljava/util/Properties;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.util.Properties
1: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/media/sound/SoftSynthesizer;
public com.sun.media.sound.AudioSynthesizerPropertyInfo[] getPropertyInfo(java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Ljava/util/Map;)[Lcom/sun/media/sound/AudioSynthesizerPropertyInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=22, 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: aload 1
ifnonnull 2
aload 0
getfield com.sun.media.sound.SoftSynthesizer.open:Z
ifeq 2
iconst_1
goto 3
StackMap locals: java.util.List
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 4
start local 4 4: new com.sun.media.sound.AudioSynthesizerPropertyInfo
dup
ldc "interpolation"
iload 4
ifeq 5
aload 0
getfield com.sun.media.sound.SoftSynthesizer.resamplerType:Ljava/lang/String;
goto 6
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List top int
StackMap stack: new 4 new 4 java.lang.String
5: ldc "linear"
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List top int
StackMap stack: new 4 new 4 java.lang.String java.lang.String
6: invokespecial com.sun.media.sound.AudioSynthesizerPropertyInfo.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 3
start local 3 7: aload 3
bipush 7
anewarray java.lang.String
dup
iconst_0
ldc "linear"
aastore
dup
iconst_1
ldc "linear1"
aastore
dup
iconst_2
ldc "linear2"
aastore
dup
iconst_3
ldc "cubic"
aastore
dup
iconst_4
8: ldc "lanczos"
aastore
dup
iconst_5
ldc "sinc"
aastore
dup
bipush 6
ldc "point"
aastore
9: putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.choices:[Ljava/lang/Object;
10: aload 3
ldc "Interpolation method"
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.description:Ljava/lang/String;
11: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: new com.sun.media.sound.AudioSynthesizerPropertyInfo
dup
ldc "control rate"
iload 4
ifeq 13
aload 0
getfield com.sun.media.sound.SoftSynthesizer.controlrate:F
goto 14
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 12 new 12 java.lang.String
13: ldc 147.0
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 12 new 12 java.lang.String float
14: invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
invokespecial com.sun.media.sound.AudioSynthesizerPropertyInfo.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 3
15: aload 3
ldc "Control rate"
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.description:Ljava/lang/String;
16: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
17: new com.sun.media.sound.AudioSynthesizerPropertyInfo
dup
ldc "format"
18: iload 4
ifeq 19
aload 0
getfield com.sun.media.sound.SoftSynthesizer.format:Ljavax/sound/sampled/AudioFormat;
goto 20
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 17 new 17 java.lang.String
19: new javax.sound.sampled.AudioFormat
dup
ldc 44100.0
bipush 16
iconst_2
iconst_1
iconst_0
invokespecial javax.sound.sampled.AudioFormat.<init>:(FIIZZ)V
20: StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 17 new 17 java.lang.String javax.sound.sampled.AudioFormat
invokespecial com.sun.media.sound.AudioSynthesizerPropertyInfo.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 3
21: aload 3
ldc "Default audio format"
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.description:Ljava/lang/String;
22: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
23: new com.sun.media.sound.AudioSynthesizerPropertyInfo
dup
ldc "latency"
iload 4
ifeq 24
aload 0
getfield com.sun.media.sound.SoftSynthesizer.latency:J
goto 25
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 23 new 23 java.lang.String
24: ldc 120000
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 23 new 23 java.lang.String long
25: invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokespecial com.sun.media.sound.AudioSynthesizerPropertyInfo.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 3
26: aload 3
ldc "Default latency"
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.description:Ljava/lang/String;
27: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
28: new com.sun.media.sound.AudioSynthesizerPropertyInfo
dup
ldc "device id"
iload 4
ifeq 29
aload 0
getfield com.sun.media.sound.SoftSynthesizer.deviceid:I
goto 30
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 28 new 28 java.lang.String
29: iconst_0
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 28 new 28 java.lang.String int
30: invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial com.sun.media.sound.AudioSynthesizerPropertyInfo.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 3
31: aload 3
ldc "Device ID for SysEx Messages"
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.description:Ljava/lang/String;
32: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
33: new com.sun.media.sound.AudioSynthesizerPropertyInfo
dup
ldc "max polyphony"
iload 4
ifeq 34
aload 0
getfield com.sun.media.sound.SoftSynthesizer.maxpoly:I
goto 35
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 33 new 33 java.lang.String
34: bipush 64
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 33 new 33 java.lang.String int
35: invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial com.sun.media.sound.AudioSynthesizerPropertyInfo.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 3
36: aload 3
ldc "Maximum polyphony"
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.description:Ljava/lang/String;
37: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
38: new com.sun.media.sound.AudioSynthesizerPropertyInfo
dup
ldc "reverb"
iload 4
ifeq 39
aload 0
getfield com.sun.media.sound.SoftSynthesizer.reverb_on:Z
goto 40
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 38 new 38 java.lang.String
39: iconst_1
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 38 new 38 java.lang.String int
40: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokespecial com.sun.media.sound.AudioSynthesizerPropertyInfo.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 3
41: aload 3
ldc "Turn reverb effect on or off"
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.description:Ljava/lang/String;
42: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
43: new com.sun.media.sound.AudioSynthesizerPropertyInfo
dup
ldc "chorus"
iload 4
ifeq 44
aload 0
getfield com.sun.media.sound.SoftSynthesizer.chorus_on:Z
goto 45
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 43 new 43 java.lang.String
44: iconst_1
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 43 new 43 java.lang.String int
45: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokespecial com.sun.media.sound.AudioSynthesizerPropertyInfo.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 3
46: aload 3
ldc "Turn chorus effect on or off"
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.description:Ljava/lang/String;
47: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
48: new com.sun.media.sound.AudioSynthesizerPropertyInfo
dup
ldc "auto gain control"
iload 4
ifeq 49
aload 0
getfield com.sun.media.sound.SoftSynthesizer.agc_on:Z
goto 50
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 48 new 48 java.lang.String
49: iconst_1
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 48 new 48 java.lang.String int
50: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokespecial com.sun.media.sound.AudioSynthesizerPropertyInfo.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 3
51: aload 3
ldc "Turn auto gain control on or off"
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.description:Ljava/lang/String;
52: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
53: new com.sun.media.sound.AudioSynthesizerPropertyInfo
dup
ldc "large mode"
iload 4
ifeq 54
aload 0
getfield com.sun.media.sound.SoftSynthesizer.largemode:Z
goto 55
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 53 new 53 java.lang.String
54: iconst_0
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 53 new 53 java.lang.String int
55: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokespecial com.sun.media.sound.AudioSynthesizerPropertyInfo.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 3
56: aload 3
ldc "Turn large mode on or off."
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.description:Ljava/lang/String;
57: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
58: new com.sun.media.sound.AudioSynthesizerPropertyInfo
dup
ldc "midi channels"
iload 4
ifeq 59
aload 0
getfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
arraylength
goto 60
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 58 new 58 java.lang.String
59: bipush 16
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 58 new 58 java.lang.String int
60: invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial com.sun.media.sound.AudioSynthesizerPropertyInfo.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 3
61: aload 3
ldc "Number of midi channels."
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.description:Ljava/lang/String;
62: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
63: new com.sun.media.sound.AudioSynthesizerPropertyInfo
dup
ldc "jitter correction"
iload 4
ifeq 64
aload 0
getfield com.sun.media.sound.SoftSynthesizer.jitter_correction:Z
goto 65
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 63 new 63 java.lang.String
64: iconst_1
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 63 new 63 java.lang.String int
65: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokespecial com.sun.media.sound.AudioSynthesizerPropertyInfo.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 3
66: aload 3
ldc "Turn jitter correction on or off."
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.description:Ljava/lang/String;
67: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
68: new com.sun.media.sound.AudioSynthesizerPropertyInfo
dup
ldc "light reverb"
iload 4
ifeq 69
aload 0
getfield com.sun.media.sound.SoftSynthesizer.reverb_light:Z
goto 70
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 68 new 68 java.lang.String
69: iconst_1
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 68 new 68 java.lang.String int
70: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokespecial com.sun.media.sound.AudioSynthesizerPropertyInfo.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 3
71: aload 3
ldc "Turn light reverb mode on or off"
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.description:Ljava/lang/String;
72: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
73: new com.sun.media.sound.AudioSynthesizerPropertyInfo
dup
ldc "load default soundbank"
iload 4
ifeq 74
aload 0
getfield com.sun.media.sound.SoftSynthesizer.load_default_soundbank:Z
goto 75
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 73 new 73 java.lang.String
74: iconst_1
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int
StackMap stack: new 73 new 73 java.lang.String int
75: invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokespecial com.sun.media.sound.AudioSynthesizerPropertyInfo.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 3
76: aload 3
ldc "Enabled/disable loading default soundbank"
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.description:Ljava/lang/String;
77: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
78: aload 2
aload 2
invokeinterface java.util.List.size:()I
anewarray com.sun.media.sound.AudioSynthesizerPropertyInfo
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast com.sun.media.sound.AudioSynthesizerPropertyInfo[]
astore 5
start local 5 79: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.getStoredProperties:()Ljava/util/Properties;
astore 6
start local 6 80: aload 5
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 160
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int com.sun.media.sound.AudioSynthesizerPropertyInfo[] java.util.Properties top int int com.sun.media.sound.AudioSynthesizerPropertyInfo[]
StackMap stack:
81: aload 10
iload 8
aaload
astore 7
start local 7 82: aload 1
ifnonnull 83
aconst_null
goto 84
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int com.sun.media.sound.AudioSynthesizerPropertyInfo[] java.util.Properties com.sun.media.sound.AudioSynthesizerPropertyInfo int int com.sun.media.sound.AudioSynthesizerPropertyInfo[]
StackMap stack:
83: aload 1
aload 7
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.name:Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
84: astore 11
start local 11 85: aload 11
ifnull 86
aload 11
goto 87
StackMap locals: java.lang.Object
StackMap stack:
86: aload 6
aload 7
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.name:Ljava/lang/String;
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.Object
87: astore 11
88: aload 11
ifnull 159
89: aload 7
getfield com.sun.media.sound.AudioSynthesizerPropertyInfo.valueClass:Ljava/lang/Class;
astore 12
start local 12 90: aload 12
aload 11
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 92
91: aload 7
aload 11
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
goto 159
92: StackMap locals: java.lang.Class
StackMap stack:
aload 11
instanceof java.lang.String
ifeq 145
93: aload 11
checkcast java.lang.String
astore 13
start local 13 94: aload 12
ldc Ljava/lang/Boolean;
if_acmpne 100
95: aload 13
ldc "true"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 97
96: aload 7
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
97: StackMap locals: java.lang.String
StackMap stack:
aload 13
ldc "false"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 159
98: aload 7
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
99: goto 159
StackMap locals:
StackMap stack:
100: aload 12
ldc Ljavax/sound/sampled/AudioFormat;
if_acmpne 130
101: iconst_2
istore 14
start local 14 102: iconst_1
istore 15
start local 15 103: iconst_0
istore 16
start local 16 104: bipush 16
istore 17
start local 17 105: ldc 44100.0
fstore 18
start local 18 106: new java.util.StringTokenizer
dup
aload 13
ldc ", "
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 19
start local 19 107: ldc ""
astore 20
start local 20 108: goto 123
109: StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int com.sun.media.sound.AudioSynthesizerPropertyInfo[] java.util.Properties com.sun.media.sound.AudioSynthesizerPropertyInfo int int com.sun.media.sound.AudioSynthesizerPropertyInfo[] java.lang.Object java.lang.Class java.lang.String int int int int float java.util.StringTokenizer java.lang.String
StackMap stack:
aload 19
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 21
start local 21 110: aload 21
ldc "mono"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 112
111: iconst_1
istore 14
112: StackMap locals: java.lang.String
StackMap stack:
aload 21
ldc "channel"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 114
113: aload 20
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 14
114: StackMap locals:
StackMap stack:
aload 21
ldc "unsigned"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 116
115: iconst_0
istore 15
116: StackMap locals:
StackMap stack:
aload 21
ldc "big-endian"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 118
117: iconst_1
istore 16
118: StackMap locals:
StackMap stack:
aload 21
ldc "bit"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 120
119: aload 20
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 17
120: StackMap locals:
StackMap stack:
aload 21
ldc "hz"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 122
121: aload 20
invokestatic java.lang.Float.parseFloat:(Ljava/lang/String;)F
fstore 18
122: StackMap locals:
StackMap stack:
aload 21
astore 20
end local 21 123: StackMap locals:
StackMap stack:
aload 19
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 109
124: aload 7
new javax.sound.sampled.AudioFormat
dup
fload 18
iload 17
125: iload 14
iload 15
iload 16
invokespecial javax.sound.sampled.AudioFormat.<init>:(FIIZZ)V
126: putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
end local 20 end local 19 127: goto 159
StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int com.sun.media.sound.AudioSynthesizerPropertyInfo[] java.util.Properties com.sun.media.sound.AudioSynthesizerPropertyInfo int int com.sun.media.sound.AudioSynthesizerPropertyInfo[] java.lang.Object java.lang.Class java.lang.String int int int int float
StackMap stack: java.lang.NumberFormatException
128: pop
end local 18 end local 17 end local 16 end local 15 end local 14 129: goto 159
130: StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int com.sun.media.sound.AudioSynthesizerPropertyInfo[] java.util.Properties com.sun.media.sound.AudioSynthesizerPropertyInfo int int com.sun.media.sound.AudioSynthesizerPropertyInfo[] java.lang.Object java.lang.Class java.lang.String
StackMap stack:
aload 12
ldc Ljava/lang/Byte;
if_acmpne 132
131: aload 7
aload 13
invokestatic java.lang.Byte.valueOf:(Ljava/lang/String;)Ljava/lang/Byte;
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
goto 159
132: StackMap locals:
StackMap stack:
aload 12
ldc Ljava/lang/Short;
if_acmpne 134
133: aload 7
aload 13
invokestatic java.lang.Short.valueOf:(Ljava/lang/String;)Ljava/lang/Short;
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
goto 159
134: StackMap locals:
StackMap stack:
aload 12
ldc Ljava/lang/Integer;
if_acmpne 136
135: aload 7
aload 13
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
goto 159
136: StackMap locals:
StackMap stack:
aload 12
ldc Ljava/lang/Long;
if_acmpne 138
137: aload 7
aload 13
invokestatic java.lang.Long.valueOf:(Ljava/lang/String;)Ljava/lang/Long;
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
goto 159
138: StackMap locals:
StackMap stack:
aload 12
ldc Ljava/lang/Float;
if_acmpne 140
139: aload 7
aload 13
invokestatic java.lang.Float.valueOf:(Ljava/lang/String;)Ljava/lang/Float;
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
goto 159
140: StackMap locals:
StackMap stack:
aload 12
ldc Ljava/lang/Double;
if_acmpne 159
141: aload 7
aload 13
invokestatic java.lang.Double.valueOf:(Ljava/lang/String;)Ljava/lang/Double;
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
142: goto 159
StackMap locals:
StackMap stack: java.lang.NumberFormatException
143: pop
end local 13 144: goto 159
StackMap locals:
StackMap stack:
145: aload 11
instanceof java.lang.Number
ifeq 159
146: aload 11
checkcast java.lang.Number
astore 13
start local 13 147: aload 12
ldc Ljava/lang/Byte;
if_acmpne 149
148: aload 7
aload 13
invokevirtual java.lang.Number.byteValue:()B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
149: StackMap locals: java.lang.Number
StackMap stack:
aload 12
ldc Ljava/lang/Short;
if_acmpne 151
150: aload 7
aload 13
invokevirtual java.lang.Number.shortValue:()S
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
151: StackMap locals:
StackMap stack:
aload 12
ldc Ljava/lang/Integer;
if_acmpne 153
152: aload 7
aload 13
invokevirtual java.lang.Number.intValue:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
153: StackMap locals:
StackMap stack:
aload 12
ldc Ljava/lang/Long;
if_acmpne 155
154: aload 7
aload 13
invokevirtual java.lang.Number.longValue:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
155: StackMap locals:
StackMap stack:
aload 12
ldc Ljava/lang/Float;
if_acmpne 157
156: aload 7
aload 13
invokevirtual java.lang.Number.floatValue:()F
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
157: StackMap locals:
StackMap stack:
aload 12
ldc Ljava/lang/Double;
if_acmpne 159
158: aload 7
aload 13
invokevirtual java.lang.Number.doubleValue:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
putfield com.sun.media.sound.AudioSynthesizerPropertyInfo.value:Ljava/lang/Object;
end local 13 end local 12 end local 11 end local 7 159: StackMap locals: com.sun.media.sound.SoftSynthesizer java.util.Map java.util.List com.sun.media.sound.AudioSynthesizerPropertyInfo int com.sun.media.sound.AudioSynthesizerPropertyInfo[] java.util.Properties top int int com.sun.media.sound.AudioSynthesizerPropertyInfo[]
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
160: iload 8
iload 9
if_icmplt 81
161: aload 5
areturn
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 162 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 162 1 info Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
1 162 2 list Ljava/util/List<Lcom/sun/media/sound/AudioSynthesizerPropertyInfo;>;
7 162 3 item Lcom/sun/media/sound/AudioSynthesizerPropertyInfo;
4 162 4 o Z
79 162 5 items [Lcom/sun/media/sound/AudioSynthesizerPropertyInfo;
80 162 6 storedProperties Ljava/util/Properties;
82 159 7 item2 Lcom/sun/media/sound/AudioSynthesizerPropertyInfo;
85 159 11 v Ljava/lang/Object;
90 159 12 c Ljava/lang/Class<*>;
94 144 13 s Ljava/lang/String;
102 129 14 channels I
103 129 15 signed Z
104 129 16 bigendian Z
105 129 17 bits I
106 129 18 sampleRate F
107 127 19 st Ljava/util/StringTokenizer;
108 127 20 prevToken Ljava/lang/String;
110 123 21 token Ljava/lang/String;
147 159 13 n Ljava/lang/Number;
Exception table:
from to target type
106 127 128 Class java.lang.NumberFormatException
130 142 143 Class java.lang.NumberFormatException
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)[Lcom/sun/media/sound/AudioSynthesizerPropertyInfo;
MethodParameters:
Name Flags
info
public void open();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifeq 8
1: aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 1
monitorenter
2: aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.implicitOpen:Z
3: aload 1
monitorexit
4: goto 7
StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
8: StackMap locals:
StackMap stack:
aload 0
aconst_null
aconst_null
invokevirtual com.sun.media.sound.SoftSynthesizer.open:(Ljavax/sound/sampled/SourceDataLine;Ljava/util/Map;)V
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/media/sound/SoftSynthesizer;
Exception table:
from to target type
2 4 5 any
5 6 5 any
Exceptions:
throws javax.sound.midi.MidiUnavailableException
public void open(javax.sound.sampled.SourceDataLine, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Ljavax/sound/sampled/SourceDataLine;Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifeq 8
1: aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 3
monitorenter
2: aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.implicitOpen:Z
3: aload 3
monitorexit
4: goto 7
StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.sampled.SourceDataLine java.util.Map java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 3
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 3
monitorenter
9: aload 1
ifnull 11
10: aload 0
aload 1
invokeinterface javax.sound.sampled.SourceDataLine.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual com.sun.media.sound.SoftSynthesizer.setFormat:(Ljavax/sound/sampled/AudioFormat;)V
11: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.getFormat:()Ljavax/sound/sampled/AudioFormat;
aload 2
invokevirtual com.sun.media.sound.SoftSynthesizer.openStream:(Ljavax/sound/sampled/AudioFormat;Ljava/util/Map;)Ljavax/sound/sampled/AudioInputStream;
astore 4
start local 4 12: aload 0
new com.sun.media.sound.SoftSynthesizer$WeakAudioStream
dup
aload 4
invokespecial com.sun.media.sound.SoftSynthesizer$WeakAudioStream.<init>:(Ljavax/sound/sampled/AudioInputStream;)V
putfield com.sun.media.sound.SoftSynthesizer.weakstream:Lcom/sun/media/sound/SoftSynthesizer$WeakAudioStream;
13: aload 0
getfield com.sun.media.sound.SoftSynthesizer.weakstream:Lcom/sun/media/sound/SoftSynthesizer$WeakAudioStream;
invokevirtual com.sun.media.sound.SoftSynthesizer$WeakAudioStream.getAudioInputStream:()Ljavax/sound/sampled/AudioInputStream;
astore 4
14: aload 1
ifnonnull 19
15: getstatic com.sun.media.sound.SoftSynthesizer.testline:Ljavax/sound/sampled/SourceDataLine;
ifnull 18
16: getstatic com.sun.media.sound.SoftSynthesizer.testline:Ljavax/sound/sampled/SourceDataLine;
astore 1
17: goto 19
18: StackMap locals: javax.sound.sampled.AudioInputStream
StackMap stack:
aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokestatic javax.sound.sampled.AudioSystem.getSourceDataLine:(Ljavax/sound/sampled/AudioFormat;)Ljavax/sound/sampled/SourceDataLine;
astore 1
19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.latency:J
l2d
dstore 5
start local 5 20: aload 1
invokeinterface javax.sound.sampled.SourceDataLine.isOpen:()Z
ifne 26
21: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getFrameSize:()I
22: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.getFormat:()Ljavax/sound/sampled/AudioFormat;
invokevirtual javax.sound.sampled.AudioFormat.getFrameRate:()F
f2d
dload 5
ldc 1000000.0
ddiv
dmul
d2i
23: imul
istore 7
start local 7 24: aload 1
aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.getFormat:()Ljavax/sound/sampled/AudioFormat;
iload 7
invokeinterface javax.sound.sampled.SourceDataLine.open:(Ljavax/sound/sampled/AudioFormat;I)V
25: aload 0
aload 1
putfield com.sun.media.sound.SoftSynthesizer.sourceDataLine:Ljavax/sound/sampled/SourceDataLine;
end local 7 26: StackMap locals: double
StackMap stack:
aload 1
invokeinterface javax.sound.sampled.SourceDataLine.isActive:()Z
ifne 28
27: aload 1
invokeinterface javax.sound.sampled.SourceDataLine.start:()V
28: StackMap locals:
StackMap stack:
sipush 512
istore 7
start local 7 29: aload 4
invokevirtual javax.sound.sampled.AudioInputStream.available:()I
istore 7
30: goto 32
StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.sampled.SourceDataLine java.util.Map java.lang.Object javax.sound.sampled.AudioInputStream double int
StackMap stack: java.io.IOException
31: pop
32: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.sound.sampled.SourceDataLine.getBufferSize:()I
istore 8
start local 8 33: iload 8
iload 8
iload 7
irem
isub
istore 8
34: iload 8
iconst_3
iload 7
imul
if_icmpge 36
35: iconst_3
iload 7
imul
istore 8
36: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.jitter_correction:Z
ifeq 42
37: new com.sun.media.sound.SoftJitterCorrector
dup
aload 4
iload 8
38: iload 7
39: invokespecial com.sun.media.sound.SoftJitterCorrector.<init>:(Ljavax/sound/sampled/AudioInputStream;II)V
astore 4
40: aload 0
getfield com.sun.media.sound.SoftSynthesizer.weakstream:Lcom/sun/media/sound/SoftSynthesizer$WeakAudioStream;
ifnull 42
41: aload 0
getfield com.sun.media.sound.SoftSynthesizer.weakstream:Lcom/sun/media/sound/SoftSynthesizer$WeakAudioStream;
aload 4
putfield com.sun.media.sound.SoftSynthesizer$WeakAudioStream.jitter_stream:Ljavax/sound/sampled/AudioInputStream;
42: StackMap locals:
StackMap stack:
aload 0
new com.sun.media.sound.SoftAudioPusher
dup
aload 1
aload 4
iload 7
invokespecial com.sun.media.sound.SoftAudioPusher.<init>:(Ljavax/sound/sampled/SourceDataLine;Ljavax/sound/sampled/AudioInputStream;I)V
putfield com.sun.media.sound.SoftSynthesizer.pusher:Lcom/sun/media/sound/SoftAudioPusher;
43: aload 0
aload 4
putfield com.sun.media.sound.SoftSynthesizer.pusher_stream:Ljavax/sound/sampled/AudioInputStream;
44: aload 0
getfield com.sun.media.sound.SoftSynthesizer.pusher:Lcom/sun/media/sound/SoftAudioPusher;
invokevirtual com.sun.media.sound.SoftAudioPusher.start:()V
45: aload 0
getfield com.sun.media.sound.SoftSynthesizer.weakstream:Lcom/sun/media/sound/SoftSynthesizer$WeakAudioStream;
ifnull 57
46: aload 0
getfield com.sun.media.sound.SoftSynthesizer.weakstream:Lcom/sun/media/sound/SoftSynthesizer$WeakAudioStream;
aload 0
getfield com.sun.media.sound.SoftSynthesizer.pusher:Lcom/sun/media/sound/SoftAudioPusher;
putfield com.sun.media.sound.SoftSynthesizer$WeakAudioStream.pusher:Lcom/sun/media/sound/SoftAudioPusher;
47: aload 0
getfield com.sun.media.sound.SoftSynthesizer.weakstream:Lcom/sun/media/sound/SoftSynthesizer$WeakAudioStream;
aload 0
getfield com.sun.media.sound.SoftSynthesizer.sourceDataLine:Ljavax/sound/sampled/SourceDataLine;
putfield com.sun.media.sound.SoftSynthesizer$WeakAudioStream.sourceDataLine:Ljavax/sound/sampled/SourceDataLine;
end local 8 end local 7 end local 5 end local 4 48: goto 57
49: StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.sampled.SourceDataLine java.util.Map java.lang.Object
StackMap stack: java.lang.Exception
astore 4
start local 4 50: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifeq 52
51: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.close:()V
52: StackMap locals: java.lang.Exception
StackMap stack:
new javax.sound.midi.MidiUnavailableException
dup
53: ldc "Can not open line"
54: invokespecial javax.sound.midi.MidiUnavailableException.<init>:(Ljava/lang/String;)V
astore 5
start local 5 55: aload 5
aload 4
invokevirtual javax.sound.midi.MidiUnavailableException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
56: aload 5
athrow
end local 5 end local 4 57: StackMap locals:
StackMap stack:
aload 3
monitorexit
58: goto 61
StackMap locals:
StackMap stack: java.lang.Throwable
59: aload 3
monitorexit
60: athrow
61: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 62 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 62 1 line Ljavax/sound/sampled/SourceDataLine;
0 62 2 info Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
12 48 4 ais Ljavax/sound/sampled/AudioInputStream;
20 48 5 latency D
24 26 7 bufferSize I
29 48 7 controlbuffersize I
33 48 8 buffersize I
50 57 4 e Ljava/lang/Exception;
55 57 5 ex Ljavax/sound/midi/MidiUnavailableException;
Exception table:
from to target type
2 4 5 any
5 6 5 any
29 30 31 Class java.io.IOException
9 48 49 Class javax.sound.sampled.LineUnavailableException
9 48 49 Class java.lang.SecurityException
9 48 49 Class java.lang.IllegalArgumentException
9 58 59 any
59 60 59 any
Exceptions:
throws javax.sound.midi.MidiUnavailableException
Signature: (Ljavax/sound/sampled/SourceDataLine;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)V
MethodParameters:
Name Flags
line
info
public javax.sound.sampled.AudioInputStream openStream(javax.sound.sampled.AudioFormat, java.util.Map<java.lang.String, java.lang.Object>);
descriptor: (Ljavax/sound/sampled/AudioFormat;Ljava/util/Map;)Ljavax/sound/sampled/AudioInputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifeq 2
1: new javax.sound.midi.MidiUnavailableException
dup
ldc "Synthesizer is already open"
invokespecial javax.sound.midi.MidiUnavailableException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 3
monitorenter
3: aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.gmmode:I
4: aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.voice_allocation_mode:I
5: aload 0
aload 2
invokevirtual com.sun.media.sound.SoftSynthesizer.processPropertyInfo:(Ljava/util/Map;)V
6: aload 0
iconst_1
putfield com.sun.media.sound.SoftSynthesizer.open:Z
7: aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.implicitOpen:Z
8: aload 1
ifnull 10
9: aload 0
aload 1
invokevirtual com.sun.media.sound.SoftSynthesizer.setFormat:(Ljavax/sound/sampled/AudioFormat;)V
10: StackMap locals: java.lang.Object
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.load_default_soundbank:Z
ifeq 14
11: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.getDefaultSoundbank:()Ljavax/sound/midi/Soundbank;
astore 4
start local 4 12: aload 4
ifnull 14
13: aload 0
aload 4
invokevirtual com.sun.media.sound.SoftSynthesizer.loadAllInstruments:(Ljavax/sound/midi/Soundbank;)Z
pop
end local 4 14: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.media.sound.SoftSynthesizer.maxpoly:I
anewarray com.sun.media.sound.SoftVoice
putfield com.sun.media.sound.SoftSynthesizer.voices:[Lcom/sun/media/sound/SoftVoice;
15: iconst_0
istore 4
start local 4 16: goto 19
17: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.voices:[Lcom/sun/media/sound/SoftVoice;
iload 4
new com.sun.media.sound.SoftVoice
dup
aload 0
invokespecial com.sun.media.sound.SoftVoice.<init>:(Lcom/sun/media/sound/SoftSynthesizer;)V
aastore
18: iinc 4 1
StackMap locals:
StackMap stack:
19: iload 4
aload 0
getfield com.sun.media.sound.SoftSynthesizer.maxpoly:I
if_icmplt 17
end local 4 20: aload 0
new com.sun.media.sound.SoftMainMixer
dup
aload 0
invokespecial com.sun.media.sound.SoftMainMixer.<init>:(Lcom/sun/media/sound/SoftSynthesizer;)V
putfield com.sun.media.sound.SoftSynthesizer.mainmixer:Lcom/sun/media/sound/SoftMainMixer;
21: aload 0
aload 0
getfield com.sun.media.sound.SoftSynthesizer.number_of_midi_channels:I
anewarray com.sun.media.sound.SoftChannel
putfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
22: iconst_0
istore 4
start local 4 23: goto 26
24: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
iload 4
new com.sun.media.sound.SoftChannel
dup
aload 0
iload 4
invokespecial com.sun.media.sound.SoftChannel.<init>:(Lcom/sun/media/sound/SoftSynthesizer;I)V
aastore
25: iinc 4 1
StackMap locals:
StackMap stack:
26: iload 4
aload 0
getfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
arraylength
if_icmplt 24
end local 4 27: aload 0
getfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
ifnonnull 37
28: aload 0
getfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
arraylength
bipush 16
if_icmpge 30
29: aload 0
bipush 16
anewarray com.sun.media.sound.SoftChannelProxy
putfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
goto 31
30: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
arraylength
anewarray com.sun.media.sound.SoftChannelProxy
putfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
31: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 32: goto 35
33: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
iload 4
new com.sun.media.sound.SoftChannelProxy
dup
invokespecial com.sun.media.sound.SoftChannelProxy.<init>:()V
aastore
34: iinc 4 1
StackMap locals:
StackMap stack:
35: iload 4
aload 0
getfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
arraylength
if_icmplt 33
end local 4 36: goto 51
37: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
arraylength
aload 0
getfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
arraylength
if_icmple 51
38: aload 0
getfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
arraylength
anewarray com.sun.media.sound.SoftChannelProxy
39: astore 4
start local 4 40: iconst_0
istore 5
start local 5 41: goto 44
42: StackMap locals: com.sun.media.sound.SoftChannelProxy[] int
StackMap stack:
aload 4
iload 5
aload 0
getfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
iload 5
aaload
aastore
43: iinc 5 1
StackMap locals:
StackMap stack:
44: iload 5
aload 0
getfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
arraylength
if_icmplt 42
end local 5 45: aload 0
getfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
arraylength
istore 5
start local 5 46: goto 49
47: StackMap locals:
StackMap stack:
aload 4
iload 5
new com.sun.media.sound.SoftChannelProxy
dup
invokespecial com.sun.media.sound.SoftChannelProxy.<init>:()V
aastore
48: iinc 5 1
StackMap locals:
StackMap stack:
49: iload 5
aload 4
arraylength
50: if_icmplt 47
end local 5 end local 4 51: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 52: goto 55
53: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
iload 4
aaload
aload 0
getfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
iload 4
aaload
invokevirtual com.sun.media.sound.SoftChannelProxy.setChannel:(Ljavax/sound/midi/MidiChannel;)V
54: iinc 4 1
StackMap locals:
StackMap stack:
55: iload 4
aload 0
getfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
arraylength
if_icmplt 53
end local 4 56: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.getVoices:()[Lcom/sun/media/sound/SoftVoice;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 60
StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.sampled.AudioFormat java.util.Map java.lang.Object top int int com.sun.media.sound.SoftVoice[]
StackMap stack:
57: aload 7
iload 5
aaload
astore 4
start local 4 58: aload 4
aload 0
getfield com.sun.media.sound.SoftSynthesizer.resampler:Lcom/sun/media/sound/SoftResampler;
invokeinterface com.sun.media.sound.SoftResampler.openStreamer:()Lcom/sun/media/sound/SoftResamplerStreamer;
putfield com.sun.media.sound.SoftVoice.resampler:Lcom/sun/media/sound/SoftResamplerStreamer;
end local 4 59: iinc 5 1
StackMap locals:
StackMap stack:
60: iload 5
iload 6
if_icmplt 57
61: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.getReceivers:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 67
StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.sampled.AudioFormat java.util.Map java.lang.Object top java.util.Iterator
StackMap stack:
62: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.sound.midi.Receiver
astore 4
start local 4 63: aload 4
checkcast com.sun.media.sound.SoftReceiver
astore 6
start local 6 64: aload 6
aload 0
getfield com.sun.media.sound.SoftSynthesizer.open:Z
putfield com.sun.media.sound.SoftReceiver.open:Z
65: aload 6
aload 0
getfield com.sun.media.sound.SoftSynthesizer.mainmixer:Lcom/sun/media/sound/SoftMainMixer;
putfield com.sun.media.sound.SoftReceiver.mainmixer:Lcom/sun/media/sound/SoftMainMixer;
66: aload 6
aload 0
getfield com.sun.media.sound.SoftSynthesizer.mainmixer:Lcom/sun/media/sound/SoftMainMixer;
getfield com.sun.media.sound.SoftMainMixer.midimessages:Ljava/util/TreeMap;
putfield com.sun.media.sound.SoftReceiver.midimessages:Ljava/util/TreeMap;
end local 6 end local 4 67: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 62
68: aload 0
getfield com.sun.media.sound.SoftSynthesizer.mainmixer:Lcom/sun/media/sound/SoftMainMixer;
invokevirtual com.sun.media.sound.SoftMainMixer.getInputStream:()Ljavax/sound/sampled/AudioInputStream;
aload 3
monitorexit
69: areturn
70: StackMap locals: com.sun.media.sound.SoftSynthesizer javax.sound.sampled.AudioFormat java.util.Map java.lang.Object
StackMap stack: java.lang.Throwable
aload 3
monitorexit
71: athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 72 0 this Lcom/sun/media/sound/SoftSynthesizer;
0 72 1 targetFormat Ljavax/sound/sampled/AudioFormat;
0 72 2 info Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
12 14 4 defbank Ljavax/sound/midi/Soundbank;
16 20 4 i I
23 27 4 i I
32 36 4 i I
40 51 4 new_external_channels [Lcom/sun/media/sound/SoftChannelProxy;
41 45 5 i I
46 51 5 i I
52 56 4 i I
58 59 4 voice Lcom/sun/media/sound/SoftVoice;
63 67 4 recv Ljavax/sound/midi/Receiver;
64 67 6 srecv Lcom/sun/media/sound/SoftReceiver;
Exception table:
from to target type
3 69 70 any
70 71 70 any
Exceptions:
throws javax.sound.midi.MidiUnavailableException
Signature: (Ljavax/sound/sampled/AudioFormat;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;)Ljavax/sound/sampled/AudioInputStream;
MethodParameters:
Name Flags
targetFormat
info
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aconst_null
astore 1
start local 1 3: aconst_null
astore 2
start local 2 4: aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 3
monitorenter
5: aload 0
getfield com.sun.media.sound.SoftSynthesizer.pusher:Lcom/sun/media/sound/SoftAudioPusher;
ifnull 10
6: aload 0
getfield com.sun.media.sound.SoftSynthesizer.pusher:Lcom/sun/media/sound/SoftAudioPusher;
astore 1
7: aload 0
getfield com.sun.media.sound.SoftSynthesizer.pusher_stream:Ljavax/sound/sampled/AudioInputStream;
astore 2
8: aload 0
aconst_null
putfield com.sun.media.sound.SoftSynthesizer.pusher:Lcom/sun/media/sound/SoftAudioPusher;
9: aload 0
aconst_null
putfield com.sun.media.sound.SoftSynthesizer.pusher_stream:Ljavax/sound/sampled/AudioInputStream;
10: StackMap locals: com.sun.media.sound.SoftAudioPusher javax.sound.sampled.AudioInputStream java.lang.Object
StackMap stack:
aload 3
monitorexit
11: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
12: aload 3
monitorexit
13: athrow
14: StackMap locals:
StackMap stack:
aload 1
ifnull 19
15: aload 1
invokevirtual com.sun.media.sound.SoftAudioPusher.stop:()V
16: aload 2
invokevirtual javax.sound.sampled.AudioInputStream.close:()V
17: goto 19
StackMap locals:
StackMap stack: java.io.IOException
18: pop
19: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 3
monitorenter
20: aload 0
getfield com.sun.media.sound.SoftSynthesizer.mainmixer:Lcom/sun/media/sound/SoftMainMixer;
ifnull 22
21: aload 0
getfield com.sun.media.sound.SoftSynthesizer.mainmixer:Lcom/sun/media/sound/SoftMainMixer;
invokevirtual com.sun.media.sound.SoftMainMixer.close:()V
22: StackMap locals: java.lang.Object
StackMap stack:
aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.open:Z
23: aload 0
iconst_0
putfield com.sun.media.sound.SoftSynthesizer.implicitOpen:Z
24: aload 0
aconst_null
putfield com.sun.media.sound.SoftSynthesizer.mainmixer:Lcom/sun/media/sound/SoftMainMixer;
25: aload 0
aconst_null
putfield com.sun.media.sound.SoftSynthesizer.voices:[Lcom/sun/media/sound/SoftVoice;
26: aload 0
aconst_null
putfield com.sun.media.sound.SoftSynthesizer.channels:[Lcom/sun/media/sound/SoftChannel;
27: aload 0
getfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
ifnull 33
28: iconst_0
istore 4
start local 4 29: goto 32
30: StackMap locals: int
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
iload 4
aaload
aconst_null
invokevirtual com.sun.media.sound.SoftChannelProxy.setChannel:(Ljavax/sound/midi/MidiChannel;)V
31: iinc 4 1
StackMap locals:
StackMap stack:
32: iload 4
aload 0
getfield com.sun.media.sound.SoftSynthesizer.external_channels:[Lcom/sun/media/sound/SoftChannelProxy;
arraylength
if_icmplt 30
end local 4 33: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.sourceDataLine:Ljavax/sound/sampled/SourceDataLine;
ifnull 36
34: aload 0
getfield com.sun.media.sound.SoftSynthesizer.sourceDataLine:Ljavax/sound/sampled/SourceDataLine;
invokeinterface javax.sound.sampled.SourceDataLine.close:()V
35: aload 0
aconst_null
putfield com.sun.media.sound.SoftSynthesizer.sourceDataLine:Ljavax/sound/sampled/SourceDataLine;
36: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.inslist:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
37: aload 0
getfield com.sun.media.sound.SoftSynthesizer.loadedlist:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
38: aload 0
getfield com.sun.media.sound.SoftSynthesizer.tunings:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
39: goto 41
40: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.recvslist:Ljava/util/ArrayList;
aload 0
getfield com.sun.media.sound.SoftSynthesizer.recvslist:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast javax.sound.midi.Receiver
invokeinterface javax.sound.midi.Receiver.close:()V
41: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.recvslist:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
ifne 40
42: aload 3
monitorexit
43: goto 46
StackMap locals:
StackMap stack: java.lang.Throwable
44: aload 3
monitorexit
45: athrow
46: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Lcom/sun/media/sound/SoftSynthesizer;
3 47 1 pusher_to_be_closed Lcom/sun/media/sound/SoftAudioPusher;
4 47 2 pusher_stream_to_be_closed Ljavax/sound/sampled/AudioInputStream;
29 33 4 i I
Exception table:
from to target type
5 11 12 any
12 13 12 any
16 17 18 Class java.io.IOException
20 43 44 any
44 45 44 any
public boolean isOpen();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 1
monitorenter
1: aload 0
getfield com.sun.media.sound.SoftSynthesizer.open:Z
aload 1
monitorexit
2: ireturn
3: StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
4: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/media/sound/SoftSynthesizer;
Exception table:
from to target type
1 2 3 any
3 4 3 any
public long getMicrosecondPosition();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifne 2
1: lconst_0
lreturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 1
monitorenter
3: aload 0
getfield com.sun.media.sound.SoftSynthesizer.mainmixer:Lcom/sun/media/sound/SoftMainMixer;
invokevirtual com.sun.media.sound.SoftMainMixer.getMicrosecondPosition:()J
aload 1
monitorexit
4: lreturn
5: StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
6: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/media/sound/SoftSynthesizer;
Exception table:
from to target type
3 4 5 any
5 6 5 any
public int getMaxReceivers();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftSynthesizer;
public int getMaxTransmitters();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftSynthesizer;
public javax.sound.midi.Receiver getReceiver();
descriptor: ()Ljavax/sound/midi/Receiver;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 1
monitorenter
1: new com.sun.media.sound.SoftReceiver
dup
aload 0
invokespecial com.sun.media.sound.SoftReceiver.<init>:(Lcom/sun/media/sound/SoftSynthesizer;)V
astore 2
start local 2 2: aload 2
aload 0
getfield com.sun.media.sound.SoftSynthesizer.open:Z
putfield com.sun.media.sound.SoftReceiver.open:Z
3: aload 0
getfield com.sun.media.sound.SoftSynthesizer.recvslist:Ljava/util/ArrayList;
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
4: aload 2
aload 1
monitorexit
5: areturn
end local 2 6: StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
7: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/media/sound/SoftSynthesizer;
2 6 2 receiver Lcom/sun/media/sound/SoftReceiver;
Exception table:
from to target type
1 5 6 any
6 7 6 any
Exceptions:
throws javax.sound.midi.MidiUnavailableException
public java.util.List<javax.sound.midi.Receiver> getReceivers();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 1
monitorenter
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 2: aload 2
aload 0
getfield com.sun.media.sound.SoftSynthesizer.recvslist:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
pop
3: aload 2
aload 1
monitorexit
4: areturn
end local 2 5: StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
6: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/media/sound/SoftSynthesizer;
2 5 2 recvs Ljava/util/ArrayList<Ljavax/sound/midi/Receiver;>;
Exception table:
from to target type
1 4 5 any
5 6 5 any
Signature: ()Ljava/util/List<Ljavax/sound/midi/Receiver;>;
public javax.sound.midi.Transmitter getTransmitter();
descriptor: ()Ljavax/sound/midi/Transmitter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new javax.sound.midi.MidiUnavailableException
dup
ldc "No transmitter available"
invokespecial javax.sound.midi.MidiUnavailableException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftSynthesizer;
Exceptions:
throws javax.sound.midi.MidiUnavailableException
public java.util.List<javax.sound.midi.Transmitter> getTransmitters();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftSynthesizer;
Signature: ()Ljava/util/List<Ljavax/sound/midi/Transmitter;>;
public javax.sound.midi.Receiver getReceiverReferenceCounting();
descriptor: ()Ljavax/sound/midi/Receiver;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.isOpen:()Z
ifne 8
1: aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.open:()V
2: aload 0
getfield com.sun.media.sound.SoftSynthesizer.control_mutex:Ljava/lang/Object;
dup
astore 1
monitorenter
3: aload 0
iconst_1
putfield com.sun.media.sound.SoftSynthesizer.implicitOpen:Z
4: aload 1
monitorexit
5: goto 8
StackMap locals: com.sun.media.sound.SoftSynthesizer java.lang.Object
StackMap stack: java.lang.Throwable
6: aload 1
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.media.sound.SoftSynthesizer.getReceiver:()Ljavax/sound/midi/Receiver;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/media/sound/SoftSynthesizer;
Exception table:
from to target type
3 5 6 any
6 7 6 any
Exceptions:
throws javax.sound.midi.MidiUnavailableException
public javax.sound.midi.Transmitter getTransmitterReferenceCounting();
descriptor: ()Ljavax/sound/midi/Transmitter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new javax.sound.midi.MidiUnavailableException
dup
ldc "No transmitter available"
invokespecial javax.sound.midi.MidiUnavailableException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/media/sound/SoftSynthesizer;
Exceptions:
throws javax.sound.midi.MidiUnavailableException
private static java.io.OutputStream lambda$0();
descriptor: ()Ljava/io/OutputStream;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=0
0: new java.io.File
dup
1: ldc "user.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ldc ".gervill"
2: invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 0
start local 0 3: aload 0
invokevirtual java.io.File.isDirectory:()Z
ifne 6
4: aload 0
invokevirtual java.io.File.mkdirs:()Z
ifne 6
5: aconst_null
areturn
6: StackMap locals: java.io.File
StackMap stack:
new java.io.File
dup
7: aload 0
ldc "soundbank-emg.sf2"
8: invokespecial java.io.File.<init>:(Ljava/io/File;Ljava/lang/String;)V
astore 1
start local 1 9: aload 1
invokevirtual java.io.File.isFile:()Z
ifeq 11
10: aconst_null
areturn
11: StackMap locals: java.io.File
StackMap stack:
new java.io.FileOutputStream
dup
aload 1
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
12: areturn
end local 1 end local 0 13: StackMap locals:
StackMap stack: java.io.FileNotFoundException
pop
14: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
3 13 0 userhome Ljava/io/File;
9 13 1 emg_soundbank_file Ljava/io/File;
Exception table:
from to target type
0 5 13 Class java.io.FileNotFoundException
6 10 13 Class java.io.FileNotFoundException
11 12 13 Class java.io.FileNotFoundException
private static java.util.Properties lambda$1();
descriptor: ()Ljava/util/Properties;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=10, args_size=0
0: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 0
start local 0 1: ldc "/com/sun/media/sound/softsynthesizer"
astore 1
start local 1 2: invokestatic java.util.prefs.Preferences.userRoot:()Ljava/util/prefs/Preferences;
astore 2
start local 2 3: aload 2
aload 1
invokevirtual java.util.prefs.Preferences.nodeExists:(Ljava/lang/String;)Z
ifeq 15
4: aload 2
aload 1
invokevirtual java.util.prefs.Preferences.node:(Ljava/lang/String;)Ljava/util/prefs/Preferences;
astore 3
start local 3 5: aload 3
invokevirtual java.util.prefs.Preferences.keys:()[Ljava/lang/String;
astore 4
start local 4 6: aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 12
StackMap locals: java.util.Properties java.lang.String java.util.prefs.Preferences java.util.prefs.Preferences java.lang.String[] top int int java.lang.String[]
StackMap stack:
7: aload 8
iload 6
aaload
astore 5
start local 5 8: aload 3
aload 5
aconst_null
invokevirtual java.util.prefs.Preferences.get:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 9: aload 9
ifnull 11
10: aload 0
aload 5
aload 9
invokevirtual java.util.Properties.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
pop
end local 9 end local 5 11: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
12: iload 6
iload 7
if_icmplt 7
end local 4 end local 3 end local 2 13: goto 15
StackMap locals: java.util.Properties java.lang.String
StackMap stack: java.util.prefs.BackingStoreException
14: pop
15: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 16 0 p Ljava/util/Properties;
2 16 1 notePath Ljava/lang/String;
3 13 2 prefroot Ljava/util/prefs/Preferences;
5 13 3 prefs Ljava/util/prefs/Preferences;
6 13 4 prefs_keys [Ljava/lang/String;
8 11 5 prefs_key Ljava/lang/String;
9 11 9 val Ljava/lang/String;
Exception table:
from to target type
2 13 14 Class java.util.prefs.BackingStoreException
}
SourceFile: "SoftSynthesizer.java"
NestMembers:
com.sun.media.sound.SoftSynthesizer$1 com.sun.media.sound.SoftSynthesizer$2 com.sun.media.sound.SoftSynthesizer$3 com.sun.media.sound.SoftSynthesizer$4 com.sun.media.sound.SoftSynthesizer$Info com.sun.media.sound.SoftSynthesizer$WeakAudioStream com.sun.media.sound.SoftSynthesizer$WeakAudioStream$1
InnerClasses:
com.sun.media.sound.SoftSynthesizer$1
com.sun.media.sound.SoftSynthesizer$2
com.sun.media.sound.SoftSynthesizer$3
com.sun.media.sound.SoftSynthesizer$4
private Info = com.sun.media.sound.SoftSynthesizer$Info of com.sun.media.sound.SoftSynthesizer
protected final WeakAudioStream = com.sun.media.sound.SoftSynthesizer$WeakAudioStream of com.sun.media.sound.SoftSynthesizer
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public Info = javax.sound.midi.MidiDevice$Info of javax.sound.midi.MidiDevice