Allegro 5 api
#include <allegro5/allegro_audio.h> bool al_get_sample_instance_attached(const ALLEGRO_SAMPLE_INSTANCE *spl)
Return whether the sample instance is attached to something.
al_attach_sample_instance_to_mixer(3alleg5), al_attach_sample_instance_to_voice(3alleg5), al_detach_sample_instance(3alleg5)