/* call-seq: * close_audio() * * **NOTE:** This method is DEPRECATED and will be removed in * Rubygame 3.0. Please use the Rubygame.close_audio instead. * * Close the audio device being used by the mixer. You should not use any * mixer functions after this function, unless you use #open_audio() to * re-open the audio device. See also #open_audio(). * * Returns nil. */ VALUE rbgm_mixer_closeaudio(VALUE module) { /* This feature will be removed in Rubygame 3.0. */ rg_deprecated("Rubygame::Mixer", "3.0"); Mix_CloseAudio(); return Qnil; }