SDL_UnbindAudioStream(3)
π SDL_UnbindAudioStream(3) π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, and today's main character is SDL_UnbindAudioStream β she's a little function with big "let go of what no longer serves you" energy β¨
πΈ NAME πΈ
SDL_UnbindAudioStream β unbind a single audio stream from its audio device. one stream. that's it. she's not doing a whole crowd, she's doing you π«Ά
π SYNOPSIS π
#include <SDL3/SDL_audio.h>
void SDL_UnbindAudioStream(SDL_AudioStream *stream);
no return value, no drama, just vibes π
π¦ DESCRIPTION π¦
so this one is a convenience function, okay? it's equivalent to calling:
SDL_UnbindAudioStreams(&stream, 1);
literally the same thing, just wrapped up cute for when you only have one stream to deal with and you don't wanna write out an array. one stream, one call, done, periodt π
β¨ FUNCTION PARAMETERS β¨
streamβ an audio stream to unbind from a device. and yes bestie, this one can beNULL. no cap, the docs said it, so don't stress π
π§ THREAD SAFETY π§
it is safe to call this function from any thread. any of them. all of them. go wild, she's chill π
β AVAILABILITY β
this function has been available since SDL 3.2.0. so if you're on something older... no she's not there yet, sorry babe π
π SEE ALSO π
SDL_BindAudioStream(3)β the other half of the situationship, iykyk π
Simple Directmedia Layer Β· SDL 3.4.18 β that's the whole page bestie, thanks for reading, mwah ππβ¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms