1al_is_haptic_effect_playing(3) al_is_haptic_effect_playing(3)
2
3
4
6 al_is_haptic_effect_playing - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 bool al_is_haptic_effect_playing(ALLEGRO_HAPTIC_EFFECT_ID *id)
12
14 Returns true if the haptic effect is currently playing. Returns false
15 if the effect has been stopped or if it has already finished playing,
16 or if it has not been played yet. The play_id must be a valid ALLE‐
17 GRO_HAPTIC_EFFECT_ID(3) obtained from al_upload_haptic_effect(3),
18 al_upload_and_play_haptic_effect(3) or al_rumble_haptic(3).
19
21 5.1.8
22
23 [Unstable API]: Perhaps could be simplified due to limited sup‐
24 port for all the exposed features across all of the platforms.
25 Awaiting feedback from users.
26
27
28
29Allegro reference manual al_is_haptic_effect_playing(3)