al_seek_video(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

al_seek_video β€” it's the Allegro 5 API, bestie πŸ’– (yes, from the al_seek_video(3alleg5) manual page, we love a namedrop)


🌸 SYNOPSIS 🌸

#include <allegro5/allegro_video.h>

bool al_seek_video(ALLEGRO_VIDEO *video, double pos_in_seconds)

πŸŽ€ DESCRIPTION πŸŽ€

Okay so picture this: you're watching a video and you wanna be somewhere else in it. That's literally what this does β€” it seeks to a different position in the video. Time travel but make it ALLEGRO_VIDEO πŸ’…

But ngl, plot twist: currently only seeking to the beginning of the video is supported. That's it. That's the range. Beginning only, no cap 🫢


⭐ SINCE ⭐

5.1.0 β€” she's been iconic since day one, periodt πŸ‘‘


and that's the whole vibe, fr fr πŸ’œ thanks for reading the Allegro reference manual's al_seek_video(3alleg5) page, mwah, go seek the beginning of something beautiful πŸ¦‹βœ¨

πŸ“¦ where this page comes from