al_get_audio_stream_depth(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ al_get_audio_stream_depth ✨

okay bestie, welcome to the Allegro 5 API corner of the Allegro reference manual (section 3alleg5, we stay iconic) πŸ’– today's main character is al_get_audio_stream_depth, and honestly? she's short, she's sweet, she does exactly one thing. lowkey a vibe.


🌸 SYNOPSIS 🌸

like, here's the whole thing, fr fr:

#include <allegro5/allegro_audio.h>

ALLEGRO_AUDIO_DEPTH al_get_audio_stream_depth(
   const ALLEGRO_AUDIO_STREAM *stream)

no cap, that's it. that's the entrance. πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

bestie. she returns the stream audio depth. that's the whole job. that's the assignment, and she ate. πŸ“

you hand her a stream β€” specifically a const ALLEGRO_AUDIO_STREAM *, she is NOT touching your stream, she's just looking, respectful queen 🫢 β€” and she hands you back the audio depth of that stream. the return type is ALLEGRO_AUDIO_DEPTH because of course it is, girl knows what she is. ✨

lowkey the simplest function in the whole audio family and honestly? we love a no-drama icon. no side effects, no surprises, just depth. periodt. πŸ‘‘

πŸ‘€ SEE ALSO πŸ‘€


mwah πŸ’œ that's the whole page, and it lives in the Allegro reference manual, section 3alleg5, filed under al_get_audio_stream_depth(3alleg5) β€” same name, top and bottom, we love symmetry. now go check your stream's depth, bestie, and slay πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from