DOKK / manpages / debian 11 / libsdl1.2-dev / SDL_LockAudio.3.en
SDL_LockAudio(3) SDL API Reference SDL_LockAudio(3)

SDL_LockAudio - Lock out the callback function

#include "SDL.h"

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

Tue 11 Sep 2001, 22:58 SDL