Searched refs:sequencer (Results 1 - 6 of 6) sorted by relevance

/openjdk7/jdk/test/javax/sound/midi/Sequencer/
H A DSequencerImplicitSynthOpen.java4 * @summary Tests that sequencer correctly opens/closes (implicitly) devices
23 log("getting sequencer...");
24 Sequencer sequencer = MidiSystem.getSequencer();
25 log(" - got " + getDeviceStr(sequencer));
28 MidiDevice synth = getConnectedDevice(sequencer);
38 if (test(sequencer)) {
53 static boolean test(Sequencer sequencer) throws MidiUnavailableException { argument
55 log("opening sequencer...");
56 sequencer.open(); // opens connected synthesizer implicitly
57 MidiDevice synth = getConnectedDevice(sequencer);
74 getConnectedDevice(Sequencer sequencer) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/audio/
H A DAudioDevice.java125 Sequencer sequencer = null;
128 sequencer = MidiSystem.getSequencer( );
129 sequencer.open();
131 sequencer.setSequence( bis );
136 info = new Info( sequencer, in, null );
141 sequencer.addMetaEventListener(info);
143 sequencer.start();
297 if( info.sequencer != null ) {
299 info.sequencer.stop();
300 //info.sequencer
405 final Sequencer sequencer; field in class:AudioDevice.Info
409 Info( Sequencer sequencer, InputStream in, DataPusher datapusher ) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DJavaSoundAudioClip.java77 private Sequencer sequencer = null; field in class:JavaSoundAudioClip
179 } else if (sequencer != null) {
181 if (sequencer.isRunning()) {
182 sequencer.setMicrosecondPosition(0);
184 if (!sequencer.isOpen()) {
186 sequencer.open();
187 sequencer.setSequence(sequence);
195 sequencer.addMetaEventListener(this);
197 sequencer.start();
232 } else if (sequencer !
[all...]
/openjdk7/jdk/src/share/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/
H A DScanManager.java167 private final Semaphore sequencer = new Semaphore(1); field in class:ScanManager
354 if (!sequencer.tryAcquire()) {
366 sequencer.release();
588 if (!sequencer.tryAcquire()) {
599 sequencer.release();
637 if (!sequencer.tryAcquire())
648 sequencer.release();
1121 if (!sequencer.tryAcquire())
1128 sequencer.release();
/openjdk7/jdk/src/share/classes/javax/swing/
H A DTimerQueue.java249 private static final AtomicLong sequencer = new AtomicLong(0); field in class:TimerQueue.DelayedTimer
263 sequenceNumber = sequencer.getAndIncrement();
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DScheduledThreadPoolExecutor.java169 private static final AtomicLong sequencer = new AtomicLong(0); field in class:ScheduledThreadPoolExecutor
210 this.sequenceNumber = sequencer.getAndIncrement();
220 this.sequenceNumber = sequencer.getAndIncrement();
230 this.sequenceNumber = sequencer.getAndIncrement();

Completed in 734 milliseconds