logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_set_mixer_postprocess_callback - Allegro 5 API

Description

       Sets  a  post-processing  filter  function that’s called after the attached streams have been mixed.  The
       buffer’s format will be whatever the mixer was created with.  The sample count and user-data  pointer  is
       also passed.

              Note: The callback is called from a dedicated audio thread.

Allegro reference manual                                              al_set_mixer_postprocess_callback(3alleg5)

Name

       al_set_mixer_postprocess_callback - Allegro 5 API

Synopsis

              #include <allegro5/allegro_audio.h>

              bool al_set_mixer_postprocess_callback(ALLEGRO_MIXER *mixer,
                 void (*pp_callback)(void *buf, unsigned int samples, void *data),
                 void *pp_callback_userdata)

See Also