al_attach_sample_instance_to_mixer man page

al_attach_sample_instance_to_mixer — Allegro 5 API

Synopsis

#include <allegro5/allegro_audio.h>

bool al_attach_sample_instance_to_mixer(ALLEGRO_SAMPLE_INSTANCE *spl,
   ALLEGRO_MIXER *mixer)

Description

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

Returns true on success, false on failure.

See Also

al_detach_sample_instance(3).

Referenced By

al_detach_sample_instance(3), al_get_mixer_attached(3), al_get_sample_instance_attached(3).

Allegro reference manual