al_set_mixer_gain(3)
π al_set_mixer_gain(3) π
okay so bestie, this page is al_set_mixer_gain(3) and it lives in the Library Functions Manual. Allegro 5 audio girlies, this oneβs for you πβ¨
πΈ NAME πΈ
al_set_mixer_gainβ Allegro 5 API
β¨ SYNOPSIS β¨
#include <allegro5/allegro_audio.h>
bool al_set_mixer_gain(ALLEGRO_MIXER *mixer, float new_gain)
π§ DESCRIPTION π§
This function sets the mixer gain β aka the amplification factor β for the mixer you hand it. Thatβs the whole flex π
It returns true on success and false on failure. no cap.
trueβ success, slay β¨falseβ failure, not slay π
bestie this is a simple yes/no situation:truemeans it worked,falsemeans it didnβt. periodt.
π°οΈ SINCE π°οΈ
5.0.6, 5.1.0 β vintage but iconic, iykyk π¦
π SEE ALSO π
al_get_mixer_gain(3)β the obvious bestie counterpart, go read it π«Ά
source: Allegro reference manual, version: Allegro 5 API, page: al_set_mixer_gain(3), date: not printed on this page β mwah, bye bestie π
π¦ 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