al_get_sample_instance_pan(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ al_get_sample_instance_pan(3alleg5) ✨

okay bestie, welcome to the Allegro 5 API πŸ’– this one's a lil cutie, it's literally just one function and it's giving "short but iconic". it's from the Allegro reference manual, and yes it's the 3alleg5 era, we love her πŸŽ€


🌸 NAME 🌸

al_get_sample_instance_pan β€” Allegro 5 API πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro5/allegro_audio.h>

float al_get_sample_instance_pan(const ALLEGRO_SAMPLE_INSTANCE *spl)

like, that's the whole vibe. include the header, call the function, get a float back 🫢


πŸ’œ DESCRIPTION πŸ’œ

Get the pan value of the sample instance. that's it. that's the whole function. no cap. ✨

it reads the panning of the sample instance you hand it β€” the spl argument is a const ALLEGRO_SAMPLE_INSTANCE *, so it's not gonna touch your struct, it's just peeking respectfully πŸ™ˆ and it hands you back a float which is your pan value. slay πŸ’…


🌈 SEE ALSO 🌈


ngl if you were looking for a big dramatic manpage you came to the wrong place, this one is a single getter and it ate. periodt. πŸ’€

mwah πŸ’‹ that's the whole page, courtesy of the Allegro reference manual, al_get_sample_instance_pan(3alleg5), Allegro 5 β€” take care of her, she's lowkey perfect πŸ§šπŸ’–

πŸ“¦ where this page comes from