Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2009-11-19 06:11:13
Size: 733
Editor: SheenaSmith
Comment: content added
Revision 5 as of 2009-11-19 06:12:20
Size: 739
Editor: SheenaSmith
Comment: content added
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Use this function to lock out the callback function. Use this function to lock out the audio callback function.

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.

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