.\" Automatically generated by Pandoc 3.6.1 .\" .TH "al_get_haptic_effect_duration" "3" "" "Allegro reference manual" .SH NAME al_get_haptic_effect_duration \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] double al_get_haptic_effect_duration(ALLEGRO_HAPTIC_EFFECT * effect) .EE .SH DESCRIPTION Returns the estimated duration in seconds of a single loop of the given haptic effect. The effect\[cq]s \f[CR]effect.replay\f[R] must have been filled in correctly before using this function. .SH SINCE 5.1.9 .RS .PP \f[I][Unstable API]:\f[R] Perhaps could be simplified due to limited support for all the exposed features across all of the platforms. Awaiting feedback from users. .RE