AL_SET_AUDIO_STREAM_GAIN(3)
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 π₯
al_get_audio_stream_gain(3)β the getter bestie, go pair them up π«Ά
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