Allegro 5 api
#include <allegro5/allegro_audio.h> bool al_set_sample_instance_playmode(ALLEGRO_SAMPLE_INSTANCE *spl, ALLEGRO_PLAYMODE val)
Set the playback mode.
Returns true on success, false on failure.
ALLEGRO_PLAYMODE(3alleg5), al_get_sample_instance_playmode(3alleg5)