.\" Automatically generated by Pandoc 3.1.6.2 .\" .\" 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 "ALLEGRO_VIDEO_POSITION_TYPE" "3" "" "Allegro reference manual" "" .hy .SH NAME .PP ALLEGRO_VIDEO_POSITION_TYPE - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include typedef enum ALLEGRO_VIDEO_POSITION_TYPE ALLEGRO_VIDEO_POSITION_TYPE; \f[R] .fi .SH DESCRIPTION .PP Used with al_get_video_position(3) to specify which position to retrieve. If these get out of sync, audio and video may be out of sync in the display of the video. .IP \[bu] 2 ALLEGRO_VIDEO_POSITION_ACTUAL - The amount of time the video has been playing. If the video has audio then this value can be ahead of ALLEGRO_VIDEO_POSITION_VIDEO_DECODE when video decoding lags. .IP \[bu] 2 ALLEGRO_VIDEO_POSITION_VIDEO_DECODE - The amount of video that has been decoded. This may lag behind the \[lq]actual\[rq] and audio positions if decoding is slower than realtime. .IP \[bu] 2 ALLEGRO_VIDEO_POSITION_AUDIO_DECODE - The amount of audio that has been decoded. This may be the same as ALLEGRO_VIDEO_POSITION_ACTUAL if audio decode is driving the position, which is common to keep audio and video in sync. .SH SINCE .PP 5.1.11