al_attach_sample_instance_to_mixer

bool al_attach_sample_instance_to_mixer(ALLEGRO_SAMPLE_INSTANCE *spl,
   ALLEGRO_MIXER *mixer)
Introduced in 5.0.0

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.

Examples: ex_acodec, ex_acodec_multi, ex_audio_props, ex_mixer_chain


Most helpful discussions:

Other recent discussions: