org.tritonus.midi.device.java
Class SystemCurrentTimeMillisClock

java.lang.Object
  extended byorg.tritonus.midi.device.java.SystemCurrentTimeMillisClock
All Implemented Interfaces:
JavaSequencer.Clock

public class SystemCurrentTimeMillisClock
extends Object
implements JavaSequencer.Clock

Sequencer clock based on System.currentTimeMillis().


Constructor Summary
SystemCurrentTimeMillisClock()
           
 
Method Summary
 long getMicroseconds()
          Retrieve system time in microseconds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemCurrentTimeMillisClock

public SystemCurrentTimeMillisClock()
Method Detail

getMicroseconds

public long getMicroseconds()
Retrieve system time in microseconds. This method retrieves the time by calling System.currentTimeMillis().

Specified by:
getMicroseconds in interface JavaSequencer.Clock
Returns:
the system time in microseconds