Searched refs:soft (Results 1 - 25 of 36) sorted by relevance

12

/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftReceiver/
H A DSend_NoteOn_Delayed.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
51 Receiver receiver = soft.synth.getReceiver();
56 soft.read(1);
57 assertTrue(soft.findVoice(0,60) == null);
58 soft.read(2);
59 assertTrue(soft.findVoice(0,60) != null);
62 soft.read(1);
63 assertTrue(soft.findVoice(0,60) == null);
65 soft
[all...]
H A DSend_AllNotesOff.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
51 Receiver receiver = soft.synth.getReceiver();
54 soft.read(1);
55 assertTrue(soft.findVoice(0,60) != null);
59 soft.read(1);
60 assertTrue(soft.findVoice(0,60) == null);
62 soft.close();
H A DSend_AllSoundOff.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
51 Receiver receiver = soft.synth.getReceiver();
54 soft.read(1);
55 assertTrue(soft.findVoice(0,60) != null);
59 soft.read(1);
60 assertTrue(soft.findVoice(0,60) == null);
62 soft.close();
H A DSend_NoteOff.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
51 Receiver receiver = soft.synth.getReceiver();
56 soft.read(1);
57 assertTrue(soft.findVoice(0,60) != null);
60 soft.read(1);
61 assertTrue(soft.findVoice(0,60) == null);
63 soft.close();
H A DSend_NoteOn.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
51 Receiver receiver = soft.synth.getReceiver();
56 soft.read(1);
57 assertTrue(soft.findVoice(0,60) != null);
60 soft.read(1);
61 assertTrue(soft.findVoice(0,60) == null);
63 soft.close();
H A DSend_NoteOn_Multiple.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
51 Receiver receiver = soft.synth.getReceiver();
60 soft.read(1);
61 assertTrue(soft.findVoice(0,60) != null);
62 assertTrue(soft.findVoice(0,61) != null);
63 assertTrue(soft.findVoice(0,62) != null);
69 soft.read(1);
70 assertTrue(soft.findVoice(0,60) == null);
71 assertTrue(soft
[all...]
H A DClose.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
51 Receiver receiver = soft.synth.getReceiver();
53 assertEquals(soft.synth.getReceivers().size(), 1);
55 assertEquals(soft.synth.getReceivers().size(), 0);
57 soft.close();
H A DSend_ActiveSense.java56 SoftTestUtils soft = new SoftTestUtils();
57 MidiChannel channel = soft.synth.getChannels()[0];
58 Receiver receiver = soft.synth.getReceiver();
67 assertTrue(soft.findVoice(0,60) != null);
69 soft.read(0.2); // read 200 msec
71 assertTrue(soft.findVoice(0,60) != null);
75 soft.read(2);
76 assertTrue(soft.findVoice(0,60) == null);
80 soft.close();
H A DSend_NoteOn_AllChannels.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
51 Receiver receiver = soft.synth.getReceiver();
58 soft.read(1);
59 VoiceStatus voice = soft.findVoice(i,60);
63 soft.read(1);
64 voice = soft.findVoice(i,60);
66 soft.read(1);
69 soft.close();
H A DSend_Mono.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
51 Receiver receiver = soft.synth.getReceiver();
66 soft.read(1);
67 assertTrue(soft.findVoice(0,60) != null);
70 soft.read(1);
71 assertTrue(soft.findVoice(0,60) == null);
73 soft.close();
H A DSend_Omni.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
51 Receiver receiver = soft.synth.getReceiver();
65 soft.read(1);
66 assertTrue(soft.findVoice(0,60) != null);
69 soft.read(1);
70 assertTrue(soft.findVoice(0,60) == null);
72 soft.close();
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftChannel/
H A DAllNotesOff.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
53 soft.read(1);
54 VoiceStatus[] v = soft.synth.getVoiceStatus();
58 soft.read(1);
59 v = soft.synth.getVoiceStatus();
62 soft.close();
H A DAllSoundOff.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
53 soft.read(1);
54 VoiceStatus[] v = soft.synth.getVoiceStatus();
58 soft.read(1);
59 v = soft.synth.getVoiceStatus();
62 soft.close();
H A DNoteOff.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
53 soft.read(1);
54 VoiceStatus[] v = soft.synth.getVoiceStatus();
58 soft.read(1);
59 v = soft.synth.getVoiceStatus();;
62 soft.close();
H A DNoteOff2.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
53 soft.read(1);
54 VoiceStatus[] v = soft.synth.getVoiceStatus();
58 soft.read(1);
59 v = soft.synth.getVoiceStatus();;
62 soft.close();
H A DNoteOn.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
53 soft.read(1);
54 VoiceStatus[] v = soft.synth.getVoiceStatus();
58 soft.read(1);
59 v = soft.synth.getVoiceStatus();
62 soft.close();
H A DProgramAndBankChange.java83 private static void testProgramAndBank(SoftSynthesizer soft, argument
89 MidiChannel channel = soft.getChannels()[0];
98 VoiceStatus[] vstatus = soft.getVoiceStatus();
113 channel = soft.getChannels()[1];
125 vstatus = soft.getVoiceStatus();
140 SoftSynthesizer soft = new SoftSynthesizer();
141 AudioInputStream stream = soft.openStream(null, null);
142 soft.unloadAllInstruments(soft.getDefaultSoundbank());
144 soft
[all...]
H A DChannelPressure.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
57 soft.close();
H A DLocalControl.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
58 soft.close();
H A DMono.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
57 soft.close();
H A DMute.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
57 soft.close();
H A DOmni.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
59 soft.close();
H A DPitchBend.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
57 soft.close();
H A DProgramChange.java49 SoftTestUtils soft = new SoftTestUtils();
50 MidiChannel channel = soft.synth.getChannels()[0];
57 soft.close();
/openjdk7/jdk/src/share/classes/sun/misc/
H A DRef.java51 private SoftReference soft = null; field in class:Ref
87 SoftReference s = soft;
89 soft = null;
98 soft = new SoftReference(thing);
105 SoftReference s = soft;

Completed in 66 milliseconds

12