1al_set_default_mixer(3) al_set_default_mixer(3)
2
3
4
6 al_set_default_mixer - Allegro 5 API
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 and all sample instances returned by al_lock_sam‐
16 ple_id(3) will be invalidated. If you are using your own mixer, this
17 should be called before al_reserve_samples(3).
18
19 Returns true on success, false on error.
20
22 al_reserve_samples(3), al_play_sample(3), al_get_default_mixer(3),
23 al_restore_default_mixer(3)
24
25
26
27Allegro reference manual al_set_default_mixer(3)