al_set_video_playing(3alleg5)

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

✨ al_set_video_playing ✨

okay bestie, this is a page from the Allegro reference manual β€” yes, the Allegro 5 API one, the 3alleg5 girlies know πŸ’… β€” and we're talking about al_set_video_playing(3alleg5). it's giving "press play or press pause, no in-between" πŸŽ€


🌸 NAME 🌸

al_set_video_playing β€” the Allegro 5 API function that hits play or pause on your video, fr fr


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro5/allegro_video.h>

void al_set_video_playing(ALLEGRO_VIDEO *video, bool play)

like, you pass it a video and a bool and it just does the thing ✨


πŸ’– DESCRIPTION πŸ’–

Paused or resumes playback. that's it, that's the whole vibe 🫢

  • hand it a play that's true β†’ playback resumes ▢️
  • hand it a play that's false β†’ playback gets paused ⏸️
lowkey the original says "Paused or resumes playback" and honestly? iconic brevity. we keep it exactly that meaning, no extra lore added πŸ‘‘

⭐ SINCE ⭐

5.1.12 β€” so if you're on anything older, this one's not for you yet, sorry bestie 😭


and that's the whole page!! tysm for reading, mwah πŸ’œ

β€” from the Allegro reference manual, your fave source for all things 3alleg5, with the header al_set_video_playing(3alleg5) up top like a little crown πŸ‘‘ byeee πŸŽ€βœ¨

πŸ“¦ where this page comes from