Wiki Page Content

Differences between revisions 4 and 5
Revision 4 as of 2009-11-19 06:10:28
Size: 857
Editor: SheenaSmith
Comment: content changed
Revision 5 as of 2009-11-19 06:12:59
Size: 863
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 for a specified device. Use this function to lock out the audio callback function for a specified device.

SDL_LockAudioDevice

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

Syntax

void SDL_LockAudioDevice(SDL_AudioDeviceID dev)

Function Parameters

dev

the ID of the device to be locked

Code Examples

You can add your code example here

Remarks

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.

None: SDL_LockAudioDevice (last edited 2015-01-09 23:01:58 by PhilippWiesemann)

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