SDL_!LockAudio
NAME SYNOPSIS DESCRIPTION SEE ALSO
SDL_!LockAudio- Lock out the callback function
#include
void SDL_!LockAudio(void)
The lock manipulated by these functions protects the callback function. During a !LockAudio period, you can be guaranteed that the callback function is not running. Do not call these from the callback function or you will cause deadlock.
SDL_!OpenAudio
One page links to SDL_LockAudio(3):