voice_get_pan(3alleg4)
β¨ voice_get_pan β like, where IS that sound coming from?? β¨
okay bestie, so this is a page from the Allegro manual β the Allegro game programming library β and today we're checking out voice_get_pan(3alleg4). she's a lil function. she's an icon. she tells you which side your sound is leaning to. periodt. π
πΈ SYNOPSIS πΈ
#include <allegro.h>
int voice_get_pan(int voice);
like. that's it. that's the whole vibe. one include, one call, one very important number coming back at you. π«Ά
π DESCRIPTION π
So voice_get_pan returns the current pan position of a voice, and the range is:
0= all the way left π255= all the way right π
and literally everything in between is just. somewhere in the middle. main character energy, centered, wherever you put her. β¨
You hand it a voice (that's the int, that's the argument, that's who we're asking about) and it hands you back the pan position as an int. no drama, no surprises, just facts. π
ngl this is the read-only bestie of the duo β if you wanna change the pan instead of just peeking at it, that's a whole different function (see below, iykyk π).
π¦ SEE ALSO π¦
voice_set_pan(3alleg4)β the one who actually sets the pan. her sister. her counterpart. the other half of the glow-up. π
and that's the whole page, bestie!! π this lil slice of the Allegro manual comes to you from Allegro version 4.4.3, so go forth and pan responsibly. slay, stay centered, and remember: 0 is left, 255 is right, and you are always the main character. πβ¨π¦πΈπ π
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms