1al_restore_default_mixer(3) al_restore_default_mixer(3)
2
3
4
6 al_restore_default_mixer - Allegro 5 API
7
9 #include <allegro5/allegro_audio.h>
10
11 bool al_restore_default_mixer(void)
12
14 Restores Allegro's default mixer and attaches it to the default voice.
15 If the default mixer hasn't been created before, it will be created.
16 If the default voice hasn't been set via al_set_default_voice(3) or
17 created before, it will also be created. All samples started with
18 al_play_sample(3) will be stopped and all sample instances returned by
19 al_lock_sample_id(3) will be invalidated.
20
21 Returns true on success, false on error.
22
24 al_get_default_mixer(3), al_set_default_mixer(3), al_reserve_sam‐
25 ples(3).
26
27
28
29Allegro reference manual al_restore_default_mixer(3)