logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_UnlockAudioStream - Unlock an audio stream for serialized access.

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 .

See Also