ALLEGRO_VIDEO_EVENT_TYPE(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’– 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