SDL_LockAudio(3)
β¨ SDL_LockAudio(3) β SDL API Reference β¨
omg hi bestie π welcome to the SDL_LockAudio(3) page from the SDL API Reference. it's giving "audio callback control" and honestly? main character energy. let's get into it. π
π¦ NAME π¦
SDL_LockAudio β lock out the callback function. periodt. π
π SYNOPSIS π
#include "SDL.h"
void SDL_LockAudio(void)
πΈ DESCRIPTION πΈ
okay so the lock manipulated by these functions protects the callback function. During a LockAudio period, you can be guaranteed that the callback function is not running. fr fr. π«Ά
β οΈ Do not call these from the callback function or you will cause deadlock. no cap, that's the dangerous part π
π SEE ALSO π
SDL_OpenAudioπ¦
mwah π that's the whole page. it came from SDL, dated Tue 11 Sep 2001, 22:58 β source/version + date info, and we're done. slay. β¨π
π¦ where this page comes from
- debian bookworm: libsdl1.2-dev 1.2.15+dfsg2-8 Β· LGPL-2.1-or-later
- nixos 26.05: SDL_sixel 0-unstable-2016-02-06
- nixpkgs unstable: SDL_sixel 0-unstable-2016-02-06
- ubuntu jammy: libsdl1.2-dev 1.2.15+dfsg2-6 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms