al_get_mixer_gain(3)
π al_get_mixer_gain(3) π
okay so first things first, this page lives in the Allegro 5 API manual (that's the al_get_mixer_gain(3) situation, bestie, Allegro's audio corner) β¨
πΈ SYNOPSIS πΈ
#include <allegro5/allegro_audio.h>
float al_get_mixer_gain(const ALLEGRO_MIXER *mixer)
like, that's the whole vibe. one function, one float, one const ALLEGRO_MIXER * β¨
π DESCRIPTION π
so al_get_mixer_gain returns the mixer's gain β which is literally just the amplification factor, no cap π
the default is 1.0. yes, exactly 1.0, that's the number, don't @ me π«Ά
π¦ SINCE π¦
available since 5.0.6 and 5.1.0 β both, iconically π
π₯ SEE ALSO π₯
al_set_mixer_gain(3)β the other half of the story, the one that sets what this one gets. main character energy, honestly π
k that's the whole page, love u, go read the manual, mwah πβ¨
source/stamp: Allegro reference manual β al_get_mixer_gain(3) π (no date on this one, just vibes) π§
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms