1ALLEGRO_VIDEO_POSITION_TYPE(3) ALLEGRO_VIDEO_POSITION_TYPE(3)
2
3
4
6 ALLEGRO_VIDEO_POSITION_TYPE - Allegro 5 API
7
9 #include <allegro5/allegro_video.h>
10
11 typedef enum ALLEGRO_VIDEO_POSITION_TYPE ALLEGRO_VIDEO_POSITION_TYPE;
12
14 Used with al_get_video_position(3) to specify which position to
15 retrieve. If these get out of sync, audio and video may be out of sync
16 in the display of the video.
17
18 · ALLEGRO_VIDEO_POSITION_ACTUAL - The amount of time the video has been
19 playing. If the video has audio then this value can be ahead of
20 ALLEGRO_VIDEO_POSITION_VIDEO_DECODE when video decoding lags.
21
22 · ALLEGRO_VIDEO_POSITION_VIDEO_DECODE - The amount of video that has
23 been decoded. This may lag behind the "actual" and audio positions
24 if decoding is slower than realtime.
25
26 · ALLEGRO_VIDEO_POSITION_AUDIO_DECODE - The amount of audio that has
27 been decoded. This may be the same as ALLEGRO_VIDEO_POSITION_ACTUAL
28 if audio decode is driving the position, which is common to keep
29 audio and video in sync.
30
32 5.1.11
33
34
35
36Allegro reference manual ALLEGRO_VIDEO_POSITION_TYPE(3)