al_get_sam...ce_playing(3)
π NAME π
al_get_sample_instance_playing - Allegro 5 API
okay so bestie, this is the al_get_sample_instance_playing(3) page from the Allegro reference manual, and itβs here to answer one very specific question: is this sample instance literally playing rn? π§β¨
β¨ SYNOPSIS β¨
#include <allegro5/allegro_audio.h>
bool al_get_sample_instance_playing(const ALLEGRO_SAMPLE_INSTANCE *spl)
π DESCRIPTION π
so al_get_sample_instance_playing returns true if the sample instance is in the playing state. thatβs the whole mood. π«Ά
and yes, it may be true even if the instance is not attached to anything β no cap, thatβs just how it works. π
π SEE ALSO π
al_set_sample_instance_playing(3)β the other half of the play-state duo, go check it out. π¦
sign-off time: this page is from the Allegro reference manual / Allegro 5 API, and the footer has no date listed β so weβre saying date: not shown, periodt. ππ
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms