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

al_attach_sample_instance_to_mixer - Allegro 5 API

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

ALLEGRO_MIXER *mixer)

Attach a sample instance to a mixer. The instance must not already be attached to anything.

Returns true on success, false on failure.

al_detach_sample_instance(3alleg5).

Allegro reference manual