@Override public void setPosition(long position) { getActiveExecutor().setPosition(position); }
/** * Apply the position and loop state that had been set on this executor to an actual executor. * @param executor The executor to apply the state to */ public void applyStateToExecutor(AudioTrackExecutor executor) { if (position != 0) { executor.setPosition(position); } executor.setMarker(markerTracker.remove()); } }