logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_get_haptic_effect_duration - Allegro 5 API

Description

       Returns  the  estimated  duration  in  seconds of a single loop of the given haptic effect.  The effect’s
       effect.replay must have been filled in correctly before using this function.

Name

       al_get_haptic_effect_duration - Allegro 5 API

Since

       5.1.9

              [UnstableAPI]: Perhaps could be simplified due to limited support for all  the  exposed  features
              across all of the platforms.  Awaiting feedback from users.

Allegro reference manual                                                  al_get_haptic_effect_duration(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

              double al_get_haptic_effect_duration(ALLEGRO_HAPTIC_EFFECT * effect)

See Also