al_set_audio_stream_playmode(3alleg5)

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

πŸ’… NAME πŸ’…

al_set_audio_stream_playmode β€” okay bestie, this is the Allegro 5 API function that lets you change how a stream plays, and yes it's exactly as iconic as it sounds πŸŽ€


✨ SYNOPSIS ✨

#include <allegro5/allegro_audio.h>

bool al_set_audio_stream_playmode(ALLEGRO_AUDIO_STREAM *stream,
   ALLEGRO_PLAYMODE val)

πŸ¦‹ DESCRIPTION πŸ¦‹

So like, this one sets the playback mode of the stream. That's it, that's the whole job πŸ’–

It returns true on success and false on failure β€” so please actually check that return value, bestie, don't just ignore it and then act surprised later 😭


🌸 SEE ALSO 🌸


And that's a wrap, gorgeous 🫢 this page came straight out of the Allegro reference manual for the al_set_audio_stream_playmode(3alleg5) manual β€” go forth and set those playmodes, no cap πŸ‘‘βœ¨

πŸ“¦ where this page comes from