SDL_UnlockAudioStream - Unlock an audio stream for serialized access.
Contents
Availability
This function is available since SDL 3.2.0.
Description
This unlocks an audio stream after a call to
SDL_LockAudioStream .
Function Parameters
stream the audio stream to unlock.
Header File
Defined in SDL3/SDL_audio.h
Name
SDL_UnlockAudioStream - Unlock an audio stream for serialized access.
Return Value
Returns true on success or false on failure; call
SDL_GetError () for more information.
See Also
•(3), SDL_LockAudioStream(3) Simple Directmedia Layer SDL 3.2.10 SDL_UnlockAudioStream(3)
Synopsis
#include"SDL3/SDL.h"boolSDL_UnlockAudioStream(SDL_AudioStream*stream);
Thread Safety
You should only call this from the same thread that previously called
SDL_LockAudioStream .
