1al_set_mixer_postprocess_callback(3) al_set_mixer_postprocess_callback(3)
2
3
4
6 al_set_mixer_postprocess_callback - Allegro 5 API
7
9 #include <allegro5/allegro_audio.h>
10
11 bool al_set_mixer_postprocess_callback(ALLEGRO_MIXER *mixer,
12 void (*pp_callback)(void *buf, unsigned int samples, void *data),
13 void *pp_callback_userdata)
14
16 Sets a post-processing filter function that’s called after the attached
17 streams have been mixed. The buffer’s format will be whatever the mix‐
18 er was created with. The sample count and user-data pointer is also
19 passed.
20
21 Note: The callback is called from a dedicated audio thread.
22
23
24
25Allegro reference manual al_set_mixer_postprocess_callback(3)