1al_set_default_mixer(3) Library Functions Manual al_set_default_mixer(3)
2
3
4
6 al_set_default_mixer
7
9 #include <allegro5/allegro_audio.h>
10
11 bool al_set_default_mixer(ALLEGRO_MIXER *mixer)
12
14 Sets the default mixer. All samples started with al_play_sample(3)
15 will be stopped. If you are using your own mixer, this should be
16 called before al_reserve_samples(3).
17
18 Returns true on success, false on error.
19
21 al_reserve_samples(3), al_play_sample(3), al_get_default_mixer(3),
22 al_restore_default_mixer(3)
23
24
25
26Allegro reference manual al_set_default_mixer(3)