SDL_LockAudio

Name

SDL_LockAudio -- Lock out the callback function

Synopsis

#include "SDL.h"

void SDL_LockAudio(void);

Description

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 this from the callback function or you will cause deadlock.

See Also

SDL_OpenAudio

SDL_LockAudio (last edited 2008-04-17 08:18:49 by localhost)