al_get_sample_frequency(3alleg5)

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

✨ al_get_sample_frequency ✨

okay bestie, welcome to the Allegro 5 API manual page for al_get_sample_frequency πŸ’– this is from the Allegro reference manual, and it's a tiny little baddie that does exactly one thing and does it flawlessly, no cap πŸŽ€


🌸 SYNOPSIS 🌸

#include <allegro5/allegro_audio.h>

unsigned int al_get_sample_frequency(const ALLEGRO_SAMPLE *spl)

like, that's it. one include, one function, one vibe ✨


πŸ’… DESCRIPTION πŸ’…

Return the frequency (in Hz) of the sample. that's the whole thing, bestie 😭 she's short, she's sweet, she tells you how many times per second your sample's waveform does its little cycle. the way that this function simply works? iconic. periodt. πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹

go read those too, they're the rest of the sample-info squad fr fr 🫢


and that's the whole page, bestie!! this came to you straight from the Allegro reference manual, and if you see al_get_sample_frequency(3alleg5) floating around anywhere, that's just her full government name πŸ’œ mwah, go make some audio, ily πŸŽ§πŸ’–βœ¨

πŸ“¦ where this page comes from