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...
...and is only useful if you used the legacy SDL_OpenAudio() function.
This function is available since SDL 2.0.0.