.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_set_timer_speed" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_set_timer_speed - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include void al_set_timer_speed(ALLEGRO_TIMER *timer, double new_speed_secs) \f[R] .fi .SH DESCRIPTION .PP Set the timer\[cq]s speed, i.e.\ the rate at which its counter will be incremented when it is started. This can be done when the timer is started or stopped. If the timer is currently running, it is made to look as though the speed change occurred precisely at the last tick. .PP \f[I]speed_secs\f[R] has exactly the same meaning as with al_create_timer(3alleg5). .SH SEE ALSO .PP al_get_timer_speed(3alleg5)