|
Size: 739
Comment: content added
|
Size: 783
Comment: add categories
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 28: | Line 28: |
---- [[CategoryAPI]], [[CategoryAudio]] |
SDL_LockAudio
Use this function to lock out the audio callback function.
Syntax
void SDL_LockAudio(void)
Code Examples
You can add your code example here
Remarks
The lock manipulated by these functions protects the callback function. During a SDL_LockAudio()/SDL_UnlockAudio() pair, you can be guaranteed that the callback function for the default audio device is not running.
Do not call these from the callback function or you will cause deadlock.
