Exemple #1
0
 public long getMediaNanoseconds() {
   if (clock != null) return clock.getMediaNanoseconds();
   else return controller.getMediaNanoseconds();
 }
Exemple #2
0
 public TimeBase getTimeBase() {
   if (clock != null) return clock.getTimeBase();
   else return controller.getTimeBase();
 }
Exemple #3
0
 public Time getMediaTime() {
   if (clock != null) return clock.getMediaTime();
   else return controller.getMediaTime();
 }
Exemple #4
0
 public void setTimeBase(TimeBase tb) throws IncompatibleTimeBaseException {
   if (clock != null) clock.setTimeBase(tb);
 }
Exemple #5
0
 public float doSetRate(float r) {
   if (clock != null) rate = clock.setRate(r);
   else rate = r;
   return rate;
 }
Exemple #6
0
 public void doSetMediaTime(Time t) {
   if (clock != null) clock.setMediaTime(t);
 }
Exemple #7
0
 public void doStop() {
   if (clock != null) clock.stop();
 }
Exemple #8
0
 public void doStart() {
   super.doStart();
   if (clock != null) clock.syncStart(clock.getTimeBase().getTime());
 }