AL_SET_AUDIO_STREAM_GAIN(3)

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

okay so this is al_set_audio_stream_gain(3) from the Allegro 5 API, living in the Library Functions Manual β€” and yes bestie, we're about to set a stream's playback gain like it's nothing πŸ’…βœ¨

🌸 NAME 🌸

al_set_audio_stream_gain β€” Allegro 5 API function for setting the playback gain of an audio stream. iconic behavior only πŸ‘‘

πŸŽ€ SYNOPSIS πŸŽ€

#include <allegro5/allegro_audio.h>

bool al_set_audio_stream_gain(ALLEGRO_AUDIO_STREAM *stream, float val)

πŸ’… DESCRIPTION πŸ’…

So like, this one sets the playback gain of the stream. That's the whole mission. slay.

It returns true on success and false on failure. No cap.

⚠️ heads up bestie: it will fail if the audio stream is attached directly to a voice. that's the one vibe check you gotta respect 😭

πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ β€” this page comes from the Allegro reference manual, for al_set_audio_stream_gain(3); no version or date is listed here, so I'm not inventing one 🌈✨

πŸ“¦ 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