commit 24b1f190137d3dcc6ceb495a762677db4fc86aee
Author: Leszek Koltunski <leszek@koltunski.pl>
Date:   Sun May 16 23:19:36 2021 +0200

    RubikControl: fixes; progress.

diff --git a/src/main/java/org/distorted/library/type/Dynamic.java b/src/main/java/org/distorted/library/type/Dynamic.java
index b7a32ab..cb2ef77 100644
--- a/src/main/java/org/distorted/library/type/Dynamic.java
+++ b/src/main/java/org/distorted/library/type/Dynamic.java
@@ -56,7 +56,7 @@ import java.util.Vector;
 //
 // and similarly Y(t) and Z(t).
 
-public abstract class Dynamic implements InternalMaster.Slave
+public abstract class Dynamic
   {
   /**
    * One revolution takes us from the first point to the last and back to first through the shortest path.
@@ -164,20 +164,6 @@ public abstract class Dynamic implements InternalMaster.Slave
   private long mCorrectedTime;
   private static long mPausedTime;
 
-  private static final int JOB_RESET = 0;
-
-  private static class Job
-    {
-    int type;
-
-    Job(int t)
-      {
-      type  = t;
-      }
-    }
-
-  private ArrayList<Job> mJobs;
-
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 // hide this from Javadoc
   
@@ -540,13 +526,6 @@ public abstract class Dynamic implements InternalMaster.Slave
       }
     }
 
-///////////////////////////////////////////////////////////////////////////////////////////////////
-
-  private void resetToBeginningNow()
-    {
-    mStartTime = -1;
-    }
-
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
   abstract void interpolate(float[] buffer, int offset, float time);
@@ -619,10 +598,7 @@ public abstract class Dynamic implements InternalMaster.Slave
  */
   public void resetToBeginning()
     {
-    if( mJobs==null ) mJobs = new ArrayList<>();
-
-    mJobs.add(new Job(JOB_RESET));
-    InternalMaster.newSlave(this);
+    mStartTime = -1;
     }
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
@@ -759,24 +735,4 @@ public abstract class Dynamic implements InternalMaster.Slave
     interpolate(buffer,offset, (float)(pos-(int)pos) );
     return false;
     }
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
-
-  public void doWork()
-    {
-    int num = mJobs.size();
-    Job job;
-
-    for(int i=0; i<num; i++)
-      {
-      job = mJobs.remove(0);
-
-      if (job.type == JOB_RESET )
-        {
-        resetToBeginningNow();
-        }
-      }
-    }
-
-///////////////////////////////////////////////////////////////////////////////////////////////////
   }
