al_get_audio_stream_length(3alleg5)

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

✨ al_get_audio_stream_length(3alleg5) ✨

okay bestie, welcome to the allegro5 corner of the manual πŸ’– this one is a little legend from the Allegro reference manual, page al_get_audio_stream_length(3alleg5), and it's short, sweet, and iconic.


🌸 NAME 🌸

al_get_audio_stream_length β€” Allegro 5 API πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

no cap, this is the whole thing:

#include <allegro5/allegro_audio.h>

unsigned int al_get_audio_stream_length(const ALLEGRO_AUDIO_STREAM *stream)

πŸ’… DESCRIPTION πŸ’…

okay so literally all this function does is return the stream length in samples. that's it. that's the whole vibe check. ✨

you hand it a stream (a const ALLEGRO_AUDIO_STREAM *, she's const, she's committed, she's not changing for anybody πŸ’œ) and it tells you how many samples long that stream is, as an unsigned int. slay.


fr fr, that's the entire page. no hidden options, no secret flags, no drama. just one function doing one thing and doing it well. πŸ‘‘

and that's a wrap, bestie 🫢 this was al_get_audio_stream_length(3alleg5) from the Allegro reference manual β€” go forth and count your samples, you absolute main character πŸ’–βœ¨

πŸ“¦ where this page comes from