Function sdl2_sys::SDL_CloseAudio

source ·
pub unsafe extern "C" fn SDL_CloseAudio()
Expand description

This function is a legacy means of closing the audio device.

This function is equivalent to calling…

SDL_CloseAudioDevice(1);

…and is only useful if you used the legacy SDL_OpenAudio() function.

\since This function is available since SDL 2.0.0.

\sa SDL_OpenAudio