Function SDL_UnlockAudioStream
pub unsafe extern "C" fn SDL_UnlockAudioStream(
stream: *mut SDL_AudioStream,
) -> bool
Available on crate feature
dep_sdl3
only.Expand description
Unlock an audio stream for serialized access.
This unlocks an audio stream after a call to SDL_LockAudioStream
.
§Parameters
stream
: the audio stream to unlock.
§Return value
Returns true on success or false on failure; call SDL_GetError()
for more
information.
§Thread safety
You should only call this from the same thread that
previously called SDL_LockAudioStream
.
§Availability
This function is available since SDL 3.2.0.