AL_GET_AUDIO_STREAM_POSITION_SECS(3)
okay bestie, welcome to al_get_audio_stream_position_secs(3) from the Allegro 5 API β yes, itβs giving Library Functions Manual main character energy πβ¨
πΈ NAME πΈ
al_get_audio_stream_position_secs β the Allegro 5 API function that gives you the position of the stream in seconds, no cap π
β¨ SYNOPSIS β¨
#include <allegro5/allegro_audio.h>
double al_get_audio_stream_position_secs(ALLEGRO_AUDIO_STREAM *stream)
π DESCRIPTION π
okay so this literally returns the position of the stream in seconds π
But bestie, hear me: 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 β those four, periodt π¦π₯
fr fr, that βcurrentlyβ and that βonlyβ are doing important work, so donβt sleep on them π
π¦ SEE ALSO π¦
al_get_audio_stream_length_secs(3)β the other audio-stream time girlie you should also go read about π
thatβs a wrap, bestie β this iconic little page comes from the Allegro reference manual, Library Functions Manual edition πβ¨π
π¦ 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