Tao.Sdl SDK Documentation

Sdl.SDL_LockAudio Method 

Lock out the callback function.

[Visual Basic]
Public Shared Sub SDL_LockAudio()
[C#]
public static void SDL_LockAudio();

Remarks

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.

Binds to C-function call in SDL_audio.h:

            void SDL_LockAudio(void);
            

See Also

Sdl Class | Tao.Sdl Namespace | SDL_OpenAudio