SDL_UnlockAudioStream(3)

SDL_UnlockAudioStream3

Unlock an audio stream for serialized access.

Usage

#include "SDL3/SDL.h"

bool SDL_UnlockAudioStream(SDL_AudioStream *stream);

Header file

Defined in SDL3/SDL_audio.h

Overview

This unlocks an audio stream after a call to

SDL_LockAudioStream .

Function 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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.