al_get_video_fps(3alleg5)

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

✨ NAME ✨

al_get_video_fps β€” Allegro 5 API πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

#include <allegro5/allegro_video.h>

double al_get_video_fps(ALLEGRO_VIDEO *video)

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay bestie, so this one is literally the vibe check for your video's frame rate. al_get_video_fps returns the speed of the video in frames per second. That's the fps, the whole mood, the main character energy of how fast your frames are moving. πŸ’…

And lowkey important: often this will not be an integer value. So don't be out here expecting a clean 30 or 60 every time β€” it can be a 29.97 situation, a 23.976 situation, whatever. It's giving double, not int, and that's on periodt. ✨


🌸 SINCE 🌸

5.1.0 β€” she's been iconic since 5.1.0, no cap. πŸ‘‘


fr fr, that's the whole page. tiny but mighty. 🫢

Allegro reference manual β€” al_get_video_fps(3alleg5) πŸ’– that's the source/version and the page name, bestie, signing off. mwah! πŸŽ€βœ¨

πŸ“¦ where this page comes from