1al_create_mixer(3) Library Functions Manual al_create_mixer(3)
2
3
4
6 al_create_mixer
7
9 #include <allegro5/allegro_audio.h>
10
11 ALLEGRO_MIXER *al_create_mixer(unsigned int freq,
12 ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf)
13
15 Creates a mixer stream, to attach sample streams or other mixers to.
16 It will mix into a buffer at the requested frequency and channel count.
17
18 The only supported audio depths are ALLEGRO_AUDIO_DEPTH_FLOAT32 and
19 ALLEGRO_AUDIO_DEPTH_INT16 (not yet complete).
20
21 Returns true on success, false on error.
22
24 al_destroy_mixer(3)
25
26
27
28Allegro reference manual al_create_mixer(3)