Searched refs:microseconds (Results 1 - 10 of 10) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/sound/midi/
H A DMidiFileFormat.java130 * The duration of the MIDI file in microseconds.
146 * @param microseconds the duration of the file in microseconds, or UNKNOWN_LENGTH if not known
154 public MidiFileFormat(int type, float divisionType, int resolution, int bytes, long microseconds) { argument
160 this.microsecondLength = microseconds;
174 * @param microseconds the duration of the file in microseconds,
189 long microseconds, Map<String, Object> properties) {
190 this(type, divisionType, resolution, bytes, microseconds);
246 * Obtains the length of the MIDI file, expressed in microseconds
187 MidiFileFormat(int type, float divisionType, int resolution, int bytes, long microseconds, Map<String, Object> properties) argument
[all...]
H A DSequencer.java265 * Obtains the current tempo, expressed in microseconds per quarter
269 * @return the current tempo in microseconds per quarter note
278 * Sets the tempo in microseconds per quarter note. The actual tempo
282 * @param mpq desired new tempo in microseconds per quarter note.
347 * Obtains the length of the current sequence, expressed in microseconds,
349 * @return length of the sequence in microseconds.
356 * microseconds.
357 * @return the current position in microseconds
364 * Sets the current position in the sequence, expressed in microseconds
365 * @param microseconds desire
368 setMicrosecondPosition(long microseconds) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/sound/sampled/
H A DClip.java145 * Obtains the media duration in microseconds
146 * @return the media duration, expressed in microseconds,
166 * Sets the media position in microseconds. When the clip begins playing the
170 * and the audio sample frame rate. The precision in microseconds would
171 * then be limited to the number of microseconds per sample frame.
173 * To obtain the current position in microseconds, use the
177 * @param microseconds the desired new media position, expressed in microseconds
179 public void setMicrosecondPosition(long microseconds); argument
H A DFloatControl.java79 * can be effected during a value shift, in microseconds.
126 * @param updatePeriod the smallest time interval, in microseconds, over which the control
183 * @param updatePeriod the smallest time interval, in microseconds, over which the control
306 * Obtains the smallest time interval, in microseconds, over which the control's value can
312 * @return update period in microseconds, or -1 if shifting over time is unsupported
322 * value linearly over the specified time period, specified in microseconds.
330 * @param microseconds maximum duration of the shift in microseconds
337 public void shift(float from, float to, int microseconds) { argument
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DAbstractDataLine.java260 long microseconds = getLongFramePosition();
261 if (microseconds != AudioSystem.NOT_SPECIFIED) {
262 microseconds = Toolkit.frames2micros(getFormat(), microseconds);
264 return microseconds;
H A DRealTimeSequencer.java513 public void setMicrosecondPosition(long microseconds) { argument
514 if (microseconds < 0) {
519 if (Printer.trace) Printer.trace(">> RealTimeSequencer: setMicrosecondPosition("+microseconds+") ");
522 if (microseconds != 0) {
527 if (microseconds != 0) {
532 setTickPosition(MidiUtils.microsecond2tick(sequence, microseconds, tempoCache));
1424 private long checkPointMillis; // microseconds at checkoint
H A DSoftMixingClip.java415 public void setMicrosecondPosition(long microseconds) { argument
416 setFramePosition((int) (microseconds * (((double) getFormat()
H A DDirectAudioDevice.java1247 public synchronized void setMicrosecondPosition(long microseconds) { argument
1248 if (Printer.trace) Printer.trace("> DirectClip: setMicrosecondPosition: " + microseconds);
1250 long frames = Toolkit.micros2frames(getFormat(), microseconds);
/openjdk7/jdk/src/solaris/native/com/sun/management/
H A DMacosxOperatingSystem.c77 (r)->tv_usec = (a)->microseconds; \
/openjdk7/hotspot/src/os/bsd/vm/
H A Dos_bsd.cpp5361 nanos += ((jlong) tinfo.system_time.microseconds + (jlong) tinfo.user_time.microseconds) * (jlong)1000;
5364 return ((jlong)tinfo.user_time.seconds * 1000000000) + ((jlong)tinfo.user_time.microseconds * (jlong)1000);

Completed in 91 milliseconds