DOKK / manpages / debian 10 / allegro5-doc / al_get_sample_instance_playing.3alleg5.en
al_get_sample_instance_playing(3alleg5) al_get_sample_instance_playing(3alleg5)

al_get_sample_instance_playing - Allegro 5 API

#include <allegro5/allegro_audio.h>
bool al_get_sample_instance_playing(const ALLEGRO_SAMPLE_INSTANCE *spl)
    

Return true if the sample instance is in the playing state. This may be true even if the instance is not attached to anything.

al_set_sample_instance_playing(3alleg5)

Allegro reference manual