al_rewind_audio_stream(3alleg5)

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

πŸ’– 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 with al_load_audio_stream(3alleg5), al_play_audio_stream(3alleg5), al_load_audio_stream_f(3alleg5) or al_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