table of contents
al_set_default_mixer(3alleg5) Allegro reference manual() | al_set_default_mixer(3alleg5) Allegro reference manual() |
NAME¶
al_set_default_mixer - Allegro 5 APISYNOPSIS¶
-
#include <allegro5/allegro_audio.h> bool al_set_default_mixer(ALLEGRO_MIXER *mixer)
DESCRIPTION¶
Sets the default mixer. All samples started with al_play_sample(3alleg5) will be stopped. If you are using your own mixer, this should be called before al_reserve_samples(3alleg5).Returns true on success, false on error.