/* call-seq:
 *  close_audio()  ->  true or false
 *
 *  Deinitializes and closes the audio device. If audio was not open,
 *  this method does nothing, and returns false. See also #open_audio().
 *
 *  NOTE: The audio will be automatically closed when the program
 *  exits. You only need to close audio manually if you want to
 *  call #open_audio with different settings.
 *
 *  Returns::  true if the audio changed from open to closed, or
 *             false if the audio was not open before this action.
 */
VALUE rbgm_mixer_closeaudio2(VALUE module)
{
  if( audio_is_open() )
  {
    Mix_CloseAudio();
    return Qtrue;
  }
  else
  {
    return Qfalse;
  }
}