DOKK / manpages / debian 10 / allegro5-doc / al_set_mixer_gain.3alleg5.en
al_set_mixer_gain(3alleg5) al_set_mixer_gain(3alleg5)

al_set_mixer_gain - Allegro 5 API

#include <allegro5/allegro_audio.h>
bool al_set_mixer_gain(ALLEGRO_MIXER *mixer, float new_gain)
    

Set the mixer gain (amplification factor).

Returns true on success, false on failure.

5.0.6, 5.1.0

al_get_mixer_gain(3alleg5)

Allegro reference manual