public synchronized void rewindTo(long time){
  if (time > currentTrackTime)   throw new IllegalArgumentException("Cannot rewind to a future timestamp (requested time: " + time + ", current time: "+ currentTrackTime+ ")");
  time=Math.max(0,time);
  time-=time % 20;
  currentTrackTime=time;
}

public synchronized void rewindTo ( long time ) { if ( time > currentTrackTime ) throw new IllegalArgumentException ( "Cannot rewind to a future timestamp (requested time: " + time + ", current time: " + currentTrackTime + ")" ) ; time = Math . max ( 0 , time ) ; time -= time % 20 ; currentTrackTime = time ; }
this rewinds the track to a specified time .
