al_get_sample_instance_playing(3alleg5)

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

✨ NAME ✨

al_get_sample_instance_playing β€” like, the Allegro 5 API function that tells you if your sample instance is out here living its best playing life πŸ’–

(also hi bestie, this whole page lives in the al_get_sample_instance_playing(3alleg5) manual, just so you know where you are πŸŽ€)


🌸 SYNOPSIS 🌸

#include <allegro5/allegro_audio.h>

bool al_get_sample_instance_playing(const ALLEGRO_SAMPLE_INSTANCE *spl)

πŸ’… DESCRIPTION πŸ’…

Okay so basically: this one returns true if the sample instance is in the playing state. That's it, that's the whole vibe check. ✨

And here's the lil plot twist 🫢 β€” it may be true even if the instance is not attached to anything. Yes bestie, it can be playing while attached to absolutely nobody. Not me relating to that πŸ˜­πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘


k bye ily, go make some noise πŸ¦‹ This page came straight out of the Allegro reference manual, and it's from the Allegro 5 API era, periodt πŸ’…πŸŒˆβ­

πŸ“¦ where this page comes from