al_get_video_audio_rate(3)

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

πŸ’– al_get_video_audio_rate(3) πŸ’–

okay bestie, welcome to the Allegro 5 API docs, specifically the little corner of it that tells you how fast a video's audio is bopping along πŸŽ€


✨ SYNOPSIS ✨

#include <allegro5/allegro_video.h>

double al_get_video_audio_rate(ALLEGRO_VIDEO *video)

🌸 DESCRIPTION 🌸

So like, you hand it an ALLEGRO_VIDEO *video and it returns the audio rate of that video, in Hz. That's it, that's the whole vibe β€” the sample rate, the Hz number, no cap πŸ’…

It's giving "small but essential function" energy, honestly. Iconic.


πŸ¦‹ SINCE πŸ¦‹

5.1.0 β€” she's been here since 5.1.0 and she's been slaying ever since ✨


🫢 reminder: the return type is double, bestie. not an int, not a float β€” double. don't embarrass yourself at the function call, iykyk 😭

and that's the tea πŸ“ this page came straight from the Allegro reference manual (Allegro reference manual, obvi πŸ‘‘) β€” mwah, go get that audio rate, main character πŸ’–πŸŽ€πŸŒˆ

πŸ“¦ 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