Function sdl2_sys::SDL_LockAudio
source · pub unsafe extern "C" fn SDL_LockAudio()
Expand description
This function is a legacy means of locking the audio device.
New programs might want to use SDL_LockAudioDevice() instead. This function is equivalent to calling…
SDL_LockAudioDevice(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_LockAudioDevice \sa SDL_UnlockAudio \sa SDL_UnlockAudioDevice