Allegro 5 api
#include <allegro5/allegro_audio.h> bool al_attach_audio_stream_to_mixer(ALLEGRO_AUDIO_STREAM *stream, ALLEGRO_MIXER *mixer)
Attach a stream to a mixer.
Returns true on success, false on failure.
al_detach_audio_stream(3alleg5).