(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_UnlockAudioDevice

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

Header File

Defined in SDL_audio.h

Syntax

void SDL_UnlockAudioDevice(SDL_AudioDeviceID dev);

Function Parameters

dev the ID of the device to be unlocked

Remarks

This function should be paired with a previous SDL_LockAudioDevice() call.

Version

This function is available since SDL 2.0.0.

See Also


CategoryAPI, CategoryAPIFunction, CategoryAudio