DOKK / manpages / debian 11 / allegro5-doc / al_play_sample_instance.3alleg5.en
al_play_sample_instance(3alleg5) al_play_sample_instance(3alleg5)

al_play_sample_instance - Allegro 5 API

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

Play the sample instance. Returns true on success, false on failure.

al_stop_sample_instance(3alleg5)

Allegro reference manual