Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2009-11-17 18:34:41
Size: 704
Editor: SheenaSmith
Comment: create page, add content
Revision 2 as of 2009-11-17 19:58:12
Size: 700
Editor: SheenaSmith
Comment:
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
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 is not running. 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 is not running.

SDL_LockAudio

Use this function to lock out the 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 is not running.

Do not call these from the callback function or you will cause deadlock.

None: SDL_LockAudio (last edited 2015-01-09 23:01:38 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit