al_attach_mixer_to_mixer man page

al_attach_mixer_to_mixer — Allegro 5 API

Synopsis

#include <allegro5/allegro_audio.h>

bool al_attach_mixer_to_mixer(ALLEGRO_MIXER *stream, ALLEGRO_MIXER *mixer)

Description

Attaches the mixer passed as the first argument onto the mixer passed as the second argument. The first mixer (that is going to be attached) must not already be attached to anything. Both mixers must use the same frequency and audio depth.

Returns true on success, false on error.

It is invalid to attach a mixer to itself.

See Also

al_detach_mixer(3).

Referenced By

al_detach_mixer(3), al_get_mixer_attached(3).

Allegro reference manual