public void seek(int position) throws IllegalStateException, OperationNotSupportedException {
        // add this pending seek operation to the list
        pendingOperations.add(new SeekRunnable(position));
        cancelDeferredStop();
        ensurePullAndPushRunning();
    }
public void seek ( int position ) throws IllegalStateException , OperationNotSupportedException { pendingOperations . add ( new SeekRunnable ( position ) ) ; cancelDeferredStop ( ) ; ensurePullAndPushRunning ( ) ; }
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.