al_get_mixer_gain(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’– 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