javax.media
Interface Clock
- All Known Subinterfaces:
- Controller, Player, Processor
- All Known Implementing Classes:
- AbstractClock, AbstractController, AbstractPlayer, AbstractProcessor, Handler, Handler, Handler
public interface Clock
Standard JMF class -- see this class in the JMF Javadoc.
Complete.
- Author:
- Ken Larson
RESET
static final Time RESET
setTimeBase
void setTimeBase(TimeBase master)
throws IncompatibleTimeBaseException
- Throws:
IncompatibleTimeBaseException
syncStart
void syncStart(Time at)
stop
void stop()
setStopTime
void setStopTime(Time stopTime)
getStopTime
Time getStopTime()
setMediaTime
void setMediaTime(Time now)
getMediaTime
Time getMediaTime()
getMediaNanoseconds
long getMediaNanoseconds()
getSyncTime
Time getSyncTime()
getTimeBase
TimeBase getTimeBase()
mapToTimeBase
Time mapToTimeBase(Time t)
throws ClockStoppedException
- Throws:
ClockStoppedException
getRate
float getRate()
setRate
float setRate(float factor)