al_attach_mixer_to_mixer(3)

al_attach_mixer_to_mixer3

Allegro 5 api

Usage

#include <allegro5/allegro_audio.h>
bool al_attach_mixer_to_mixer(ALLEGRO_MIXER *stream, ALLEGRO_MIXER *mixer)

Overview

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, audio depth and channel configuration.

Returns true on success, false on error.

It is invalid to attach a mixer to itself.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.