Scroll to navigation

al_set_sample_instance_playmode(3alleg5) al_set_sample_instance_playmode(3alleg5)

NAME

al_set_sample_instance_playmode - Allegro 5 API

SYNOPSIS

#include <allegro5/allegro_audio.h>
bool al_set_sample_instance_playmode(ALLEGRO_SAMPLE_INSTANCE *spl,

ALLEGRO_PLAYMODE val)

DESCRIPTION

Set the playback mode of the sample instance.

Returns true on success, false on failure.

SEE ALSO

ALLEGRO_PLAYMODE(3alleg5), al_get_sample_instance_playmode(3alleg5)

Allegro reference manual