AL_SET_AUDIO_STREAM_LOOP_SECS(3)

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

✨ NAME ✨

al_set_audio_stream_loop_secs β€” Allegro 5 API πŸŽ€

πŸŽ€ SYNOPSIS πŸŽ€

#include <allegro5/allegro_audio.h>

bool al_set_audio_stream_loop_secs(ALLEGRO_AUDIO_STREAM *stream,
                 double start, double end)

πŸ’… DESCRIPTION πŸ’…

okay bestie, this is the Library Functions Manual page for al_set_audio_stream_loop_secs β€” yes, the header loves to truncate that icon of a name as al_set_aud...m_loop_secs(3), iykyk 😭. This function sets the loop points for the stream in seconds: you give it start and end, both double, and it does the loop-point thing. Slay. ✨

‼️ currently this can only be called on streams created with al_load_audio_stream(3), al_play_audio_stream(3), al_load_audio_stream_f(3) or al_play_audio_stream_f(3). That's the vibe check: other streams are not invited, no cap. πŸ’…

And yes, the signature has ALLEGRO_AUDIO_STREAM *stream and returns bool β€” it's literally right there in the synopsis, bestie. 🫢


Catch you later β€” this was the al_set_aud...m_loop_secs(3) page from the Allegro reference manual. No date in this footer, so no fake timestamp, periodt. 🌸

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