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 playing.
al_set_sample_instance_playing(3alleg5)