Logo Search packages:      
Sourcecode: ultrastar-ng version File versions  Download package

bool CAudio::isPaused ( void   ) 

This method returns true if music is playing, but paused. Otherwise it returns false

Definition at line 226 of file audio.cpp.

References isPlaying().

Referenced by togglePause().

      if (isPlaying()){
            int speed = xine_get_param(stream,XINE_PARAM_SPEED);
            if (speed == XINE_SPEED_PAUSE)
                  return true;
            return false;
            return false;
      return GST_STATE(music) ==  GST_STATE_PAUSED;

Generated by  Doxygen 1.6.0   Back to index