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