al_get_video_fps(3alleg5)
β¨ 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
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms