private synchronized boolean waitResume(){
  while (isPaused() && !isCancelled() && !isDone()) {
    try {
      debugPrint("   paused waiting ");
      wait();
    }
 catch (    InterruptedException ie) {
    }
  }
  return !isCancelled() && !isDone();
}

private synchronized boolean waitResume ( ) { while ( isPaused ( ) && ! isCancelled ( ) && ! isDone ( ) ) { try { debugPrint ( "   paused waiting " ) ; wait ( ) ; } catch ( InterruptedException ie ) { } } return ! isCancelled ( ) && ! isDone ( ) ; }
waits for resume . if this audio player is paused waits for the player to be resumed . returns if resumed , cancelled or shutdown .
