/*
* call-seq:
* pause -> self
*
* Pause the Music. Unlike #stop, it can be unpaused later to resume
* from where it was paused. See also #unpause and #paused?.
*
* Returns:: The receiver (self).
*
* **NOTE**: Does nothing if the music is not currently playing.
*
*/
static VALUE rg_music_pause( VALUE self )
{
RG_Music *music;
Data_Get_Struct(self, RG_Music, music);
/* Check that the music is current. */
if( _rg_music_current_check(self) )
{
Mix_PauseMusic();
}
return self;
}