al_get_timer_speed(3)
πΈ NAME πΈ
al_get_timer_speed β Allegro 5 API
Okay bestie, this is al_get_timer_speed(3) from the Library Functions Manual, and itβs giving βtiny but important Allegro 5 API page.β No cap. π
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
double al_get_timer_speed(const ALLEGRO_TIMER *timer)
π DESCRIPTION π
So al_get_timer_speed literally returns the timerβs speed, in seconds. Thatβs the whole assignment. π
The value it gives you is the same value passed to al_create_timer(3) or al_set_timer_speed(3). Periodt. If you set the speed over there, this is how you peek at it over here. π
You hand it a const ALLEGRO_TIMER *timer, and it gives you back a double. Iconic signature behavior, honestly. β¨
π¦ SEE ALSO π¦
al_set_timer_speed(3)β the other timer-speed bestie, go say hi π
Cute little sign-off: this page comes from the Allegro reference manual, and the footer is al_get_timer_speed(3) β the date isnβt listed on the page, so Iβm not gonna invent one, bestie. π«Άππ
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms