ALLEGRO_VIDEO_EVENT_TYPE(3)
π ALLEGRO_VIDEO_EVENT_TYPE(3) π
okay so welcome to the Allegro reference manual, bestie β specifically the Library Functions Manual β and the page title is ALLEGRO_VIDEO_EVENT_TYPE(3). We're folding the manual name in near the top like a little name tag, no cap π«Άβ¨
πΈ NAME πΈ
ALLEGRO_VIDEO_EVENT_TYPE β Allegro 5 API
β¨ SYNOPSIS β¨
#include <allegro5/allegro_video.h>
enum ALLEGRO_VIDEO_EVENT_TYPE
π DESCRIPTION π
These are the events sent by al_get_video_event_source(3). Periodt. π
π¬ ALLEGRO_EVENT_VIDEO_FRAME_SHOW π¬
This event is sent when it's time to show a new frame β main character moment for your video output π₯. Once you receive this event, you can draw the current frame (as returned by al_get_video_frame(3)). And here's the key detail, bestie: al_get_video_frame(3) will continue returning the same frame until the next ALLEGRO_EVENT_VIDEO_FRAME_SHOW is sent. No cap. π
user.data1(ALLEGRO_VIDEO *) β the video which generated the event. π₯
β±οΈ SINCE β±οΈ
5.1.0 β¨
π¦ ALLEGRO_EVENT_VIDEO_FINISHED π¦
This event is sent when the video is finished β credits rolling, vibe complete π. Depending on the backend, it may be possible to seek to an earlier part of the video and set the video to play to resume playback. So like, backend-dependent, iykyk.
user.data1(ALLEGRO_VIDEO *) β the video which generated the event. π₯
β±οΈ SINCE β±οΈ
5.1.0 β¨
mwah π β source/version vibes: Allegro reference manual; page: ALLEGRO_VIDEO_EVENT_TYPE(3). bye bestie, go make something iconic! π«Άπ
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms