voice_set_position(3)

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

✨ NAME ✨

voice_set_position β€” bestie, this is the one that sets the position of a voice. It lives in the Allegro game programming library πŸ’–


🌸 SYNOPSIS 🌸

#include <allegro.h>

void voice_set_position(int voice, int position);

πŸŽ€ DESCRIPTION πŸŽ€

Okay so picture this: a voice is just vibing there, and you want it to be somewhere else in the sound. That's the whole job 🫢

voice_set_position sets the position of a voice, and it measures that position in sample units β€” not seconds, not milliseconds, sample units, iykyk. So you're speaking the sample's own language, fr fr ✨

That's it. That's the function. Small, iconic, does exactly one thing and does it flawlessly πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹


And that's a wrap, bestie!! This little baddie ships with Allegro version 4.4.3, so go forth and reposition your voices with main character energy πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from