al_get_audio_stream_length(3alleg5)
β¨ 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
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms