code: public void seek(int position) throws IllegalStateException, OperationNotSupportedException {
          // add this pending seek operation to the list
          pendingOperations.add(new SeekRunnable(position));
          cancelDeferredStop();
          ensurePullAndPushRunning();
      }
docs: Seek to a given position
  
  @param position
  Position
  @throws IllegalStateException
  If stream is in stopped state
  @throws OperationNotSupportedException
  If this object doesn't support the operation.