Methods Summary |
---|
public void | doSetMediaTime(javax.media.Time t)
if (clock != null)
clock.setMediaTime(t);
|
public float | doSetRate(float r)
if (clock != null)
rate = clock.setRate(r);
else
rate = r;
return rate;
|
public void | doStart()
super.doStart();
if (clock != null)
clock.syncStart(clock.getTimeBase().getTime());
|
public void | doStop()
if (clock != null)
clock.stop();
|
public void | doneReset()
|
public javax.media.Clock | getClock()
return clock;
|
public long | getMediaNanoseconds()
if (clock != null)
return clock.getMediaNanoseconds();
else
return controller.getMediaNanoseconds();
|
public javax.media.Time | getMediaTime()
if (clock != null)
return clock.getMediaTime();
else
return controller.getMediaTime();
|
public javax.media.TimeBase | getTimeBase()
if (clock != null)
return clock.getTimeBase();
else
return controller.getTimeBase();
|
protected void | setClock(javax.media.Clock c)
clock = c;
|
public void | setPreroll(long wanted, long actual)Enable prerolling.
// If the time actually set on the parser is less than
// the time requested, we'll preroll the media
// to the requested time.
if (actual < wanted)
prerolling = true;
|
public void | setStopTime(javax.media.Time t)
if (t == Clock.RESET)
stopTime = -1;
else
stopTime = t.getNanoseconds();
|
public void | setTimeBase(javax.media.TimeBase tb)
if (clock != null)
clock.setTimeBase(tb);
|
public void | triggerReset()
|