DOKK / manpages / debian 11 / allegro5-doc / al_get_video_position.3alleg5.en
al_get_video_position(3alleg5) al_get_video_position(3alleg5)

al_get_video_position - Allegro 5 API

#include <allegro5/allegro_video.h>
double al_get_video_position(ALLEGRO_VIDEO *video, ALLEGRO_VIDEO_POSITION_TYPE which)
    

Returns the current position of the video stream in seconds since the beginning. The parameter is one of the ALLEGRO_VIDEO_POSITION_TYPE(3alleg5) constants.

5.1.0

Allegro reference manual