ALLEGRO_BPS_TO_SECS(3alleg5)

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

✨ NAME ✨

ALLEGRO_BPS_TO_SECS β€” the Allegro 5 API, bestie πŸ’– (yes this whole page lives in the 3alleg5 manual, we love a dedicated girlie)


🌸 SYNOPSIS 🌸

#include <allegro5/allegro.h>

#define ALLEGRO_BPS_TO_SECS(x)        (1.0 / (x))

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture this: you've got a number that means beats per second, and your brain is begging for it in seconds instead. That's it. That's the whole job. ALLEGRO_BPS_TO_SECS converts beats per second to seconds, no cap. πŸ’…

It's giving "one tiny macro doing one tiny perfect thing" and honestly? Iconic. ✨


Allegro reference manual Β· version 3alleg5 β€” that's the whole page, babe, we're done here πŸŽ€ go forth and convert your beats 🫢πŸ”₯

πŸ“¦ where this page comes from