SDL_AUDIO_MASK_BITSIZE(3)
π SDL_AUDIO_MASK_BITSIZE π
okay bestie, welcome to the SDL_AUDIO_MASK_BITSIZE page, part of the SDL3 FUNCTIONS collection, no cap β¨
β¨ NAME β¨
SDL_AUDIO_MASK_BITSIZE β it's the mask of bits inside an SDL_AudioFormat that holds the format's bit size. that's it. that's the whole job. she's a little slice of bit-magic and she knows it π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_audio.h>
#define SDL_AUDIO_MASK_BITSIZE (0xFFu)
look at her. 0xFFu. eight bits of pure masked-up potential π
π¦ DESCRIPTION π¦
so like, generally? you should use SDL_AUDIO_BITSIZE instead of this macro directly. fr fr. this one is lowkey the behind-the-scenes girly β SDL_AUDIO_BITSIZE is the one you actually want to be seen with at the function call π
ngl, reaching forSDL_AUDIO_MASK_BITSIZEwhenSDL_AUDIO_BITSIZEexists is giving "I did it the hard way on purpose." iconic of you, but like... bestie. use the other one. π«Ά
β AVAILABILITY β
this macro has been available since SDL 3.2.0 β¨ she's not a day-one OG but she's been around long enough to have main character energy π
Simple Directmedia Layer β SDL 3.4.18 π mwah, that's the source and the version, and this page is SDL_AUDIO_MASK_BITSIZE(3). go mask some bits, bestie, you got this ππΈπ¦
π¦ 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