Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2009-11-24 21:34:20
Size: 964
Editor: SheenaSmith
Comment: add categories
Revision 5 as of 2010-10-12 05:06:56
Size: 1103
Editor: SheenaSmith
Comment: minor change
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:

<<Color2(green,Should SDL_Audio``DeviceID be specifically mentioned like a struct would be although it is a typedef? It has no page.)>>

SDL_UnlockAudioDevice

Use this function to unlock the audio callback function for a specified device.

Syntax

void SDL_UnlockAudioDevice(SDL_AudioDeviceID dev)

Function Parameters

dev

the ID of the device to be unlocked

green

Code Examples

You can add your code example here

Remarks

Unlocks a previous SDL_LockAudioDevice() call.

The lock manipulated by these functions protects the callback function. During a SDL_LockAudioDevice()/SDL_UnlockAudioDevice() pair, you can be guaranteed that the callback function for that device is not running.

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


CategoryAPI, CategoryAudio

None: SDL_UnlockAudioDevice (last edited 2015-01-09 23:02:41 by PhilippWiesemann)

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