1al_set_timer_speed(3) al_set_timer_speed(3)
2
3
4
6 al_set_timer_speed - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 void al_set_timer_speed(ALLEGRO_TIMER *timer, double new_speed_secs)
12
14 Set the timer’s speed, i.e. the rate at which its counter will be in‐
15 cremented when it is started. This can be done when the timer is
16 started or stopped. If the timer is currently running, it is made to
17 look as though the speed change occurred precisely at the last tick.
18
19 speed_secs has exactly the same meaning as with al_create_timer(3).
20
22 al_get_timer_speed(3)
23
24
25
26Allegro reference manual al_set_timer_speed(3)