1al_set_timer_speed(3)      Library Functions Manual      al_set_timer_speed(3)
2
3
4

NAME

6       al_set_timer_speed
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              void al_set_timer_speed(ALLEGRO_TIMER *timer, double new_speed_secs)
12

DESCRIPTION

14       Set  the  timer's  speed,  i.e. the  rate  at which its counter will be
15       incremented 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 occured precisely at the last tick.
18
19       speed_secs has exactly the same meaning as with al_create_timer(3).
20

SEE ALSO

22       al_get_timer_speed(3)
23
24
25
26Allegro reference manual                                 al_set_timer_speed(3)
Impressum