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

al_set_sample_instance_playmode - 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 of the sample instance.

Returns true on success, false on failure.

ALLEGRO_PLAYMODE(3alleg5), al_get_sample_instance_playmode(3alleg5)

Allegro reference manual