voice_set_volume(3alleg4)

✨ voice_set_volume β€” the Allegro manual, but make it cute ✨

okay bestie, so this is a page from the Allegro manual, section 3alleg4 β€” it's all about the voice_set_volume function in the Allegro game programming library. yes we're doing C today, and yes you're gonna slay it πŸ’…


🌸 NAME 🌸

voice_set_volume β€” sets the volume of the voice. Allegro game programming library, babes πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro.h>

void voice_set_volume(int voice, int volume);

πŸ’– DESCRIPTION πŸ’–

So basically, this lil function sets the volume of the voice. That's it, that's the whole vibe. The range is 0-255, no cap β€” so <cyan>0</cyan> is like fully silent and <hotpink>255</hotpink> is full send πŸ”Šβœ¨

It's giving "turn it up or turn it down, your call queen" πŸ‘‘


🫢 SEE ALSO 🫢


and that's the whole page, bestie!! this was Allegro version 4.4.3, mwah, drink your water, compile your code, ily πŸ§šπŸ’œ