al_rewind_audio_stream(3alleg5)
π NAME π
al_rewind_audio_stream β it's giving Allegro 5 API, bestie β¨
π SYNOPSIS π
#include <allegro5/allegro_audio.h>
bool al_rewind_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
π¦ DESCRIPTION π¦
Okay so picture this: your audio stream is like halfway through the song, right? Not anymore. This function sets the streaming file's playing position all the way back to the beginning. Rewind era. Iconic. π§
It returns true on success β so like, if it worked, you get the little true slay, and if it didn'tβ¦ you don't. π
β οΈ IMPORTANT BESTIE β οΈ Right now this can only be called on streams that were created withal_load_audio_stream(3alleg5),al_play_audio_stream(3alleg5),al_load_audio_stream_f(3alleg5)oral_play_audio_stream_f(3alleg5). Any other kind of stream? Nope, not happening. Don't come for me, that's just the rules. π
Allegro reference manual Β· al_rewind_audio_stream(3alleg5)
That's the whole vibe check, babe β this page lives in the Allegro reference manual as al_rewind_audio_stream(3alleg5), and fr fr that's a wrap. Go rewind something. πβ¨π
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms