Function sdl2_sys::SDL_UnlockAudio

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

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

New programs might want to use SDL_UnlockAudioDevice() instead. This function is equivalent to calling…

SDL_UnlockAudioDevice(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_LockAudio \sa SDL_UnlockAudioDevice