code: @Override
  	public void pausePlayback()
  	{
  		if (isNotPausingNorPaused() && isNotStoppingNorStopped())
  		{
  			setIsPausing();
  			while (!isPaused() && !isStopped())
  			{
  				try { Thread.sleep(1); } catch (InterruptedException ex) { /*noop*/ }
  			}
  			stopLine();
  		}
  		else
  		if (isPaused())
  		{
  			startLine();
  			setIsPlaying();
  		}
  	}
docs: Halts the playback
  Will wait until playback halted
  @since 22.06.2006