voice_get_position(3)

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

okay bestie, welcome to voice_get_position(3), straight from the Allegro manual πŸ’– this one is short and sweet, but it still ate.


✨ NAME ✨

voice_get_position β€” returns the current position of a voice. part of the Allegro game programming library, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro.h>

int voice_get_position(int voice);

πŸ’– DESCRIPTION πŸ’–

so you hand it a voice, and it gives you back that voice's current position, measured in sample units. that's the whole main character moment.

but if the voice has already finished playing? it returns -1, bestie. that's the vibe check: -1 means done, gone, no more sound from that one 😭.


🌸 SEE ALSO 🌸


okay bye bestie! this page is brought to you by Allegro, version 4.4.3 β€” that's the source/version at the bottom, and since no date is listed there, we're not inventing one. periodt πŸ’…βœ¨

πŸ“¦ where this page comes from