al_get_audio_stream_playing(3alleg5)
β¨ NAME β¨
al_get_audio_stream_playing β Allegro 5 API, and yes bestie you are in the 3alleg5 manual π
πΈ SYNOPSIS πΈ
#include <allegro5/allegro_audio.h>
bool al_get_audio_stream_playing(const ALLEGRO_AUDIO_STREAM *stream)
π DESCRIPTION π
Okay so real talk: this function is the vibe check for your audio stream. You hand it a const ALLEGRO_AUDIO_STREAM *stream, and it returns true if the stream is playing. That's it. That's the whole tea. No cap ββ¨
Like, it's not gonna start it, stop it, or judge it β it just answers the question "is this playing?" Iconic behavior, honestly π
Bestie note: the manpage literally says it returnstrueif the stream is playing. So if you're gettingtrue, congrats, it's playing. Periodt π«Ά
π¦ SEE ALSO π¦
al_set_audio_stream_playing(3alleg5)β go check out the sibling function, bestie ππ
This has been your girl, coming at you from the Allegro reference manual, page al_get_audio_stream_playing(3alleg5). Stay slay, stay hydrated, and may your streams always play when you want them to π
β¨π
π¦ 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