This function is a legacy means of locking the audio device.
Defined in SDL_audio.h, but apps should only #include "SDL.h"
!
void SDL_LockAudio(void);
New programs might want to use SDL_LockAudioDevice() instead. This function is equivalent to calling...
1); SDL_LockAudioDevice(
...and is only useful if you used the legacy SDL_OpenAudio() function.
This function is available since SDL 2.0.0.
CategoryAPI, CategoryAPIFunction