al_get_audio_stream_playing(3alleg5)

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

✨ 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 returns true if the stream is playing. So if you're getting true, congrats, it's playing. Periodt 🫢

πŸ¦‹ SEE ALSO πŸ¦‹


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