javax.media.Clock Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmj Show documentation
Show all versions of fmj Show documentation
Freedom for Media in Java
The newest version!
package javax.media;
/**
* Standard JMF class -- see this class in the JMF Javadoc. Complete.
*
* @author Ken Larson
*
*/
public interface Clock
{
public static final Time RESET = new Time(Long.MAX_VALUE);
public long getMediaNanoseconds();
public Time getMediaTime();
public float getRate();
public Time getStopTime();
public Time getSyncTime();
public TimeBase getTimeBase();
public Time mapToTimeBase(Time t) throws ClockStoppedException;
public void setMediaTime(Time now);
public float setRate(float factor);
public void setStopTime(Time stopTime);
public void setTimeBase(TimeBase master)
throws IncompatibleTimeBaseException;
public void stop();
public void syncStart(Time at);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy