voice_get_volume(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

🌸 NAME 🌸

bestie, this is voice_get_volume(3) from the Allegro manual β€” aka the Allegro game programming library πŸ’–

It returns the current volume of the voice. That's the whole vibe. ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <allegro.h>

int voice_get_volume(int voice);

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so real talk: this function returns the current volume of the voice, and the range is 0–255. Iconic range, no notes. πŸ‘‘

Otherwise it returns -1 if that cannot be determined β€” and bestie, that happens because it has finished or been preempted by a different sound. So if you see -1, it's giving "can't even tell you rn" 😭

Not me getting emotionally attached to a volume value πŸ’€

πŸ’… SEE ALSO πŸ’…


mwah πŸ’‹ this page is from the Allegro manual, version 4.4.3, and yes bestie, it's voice_get_volume(3) signing off 🫢✨

πŸ“¦ where this page comes from