al_drain_audio_stream(3alleg5)

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

πŸ’– NAME πŸ’–

okay so bestie, this page is al_drain_audio_stream(3alleg5) from the Allegro reference manual, and the function itself is al_drain_audio_stream β€” literally part of the Allegro 5 API. no cap ✨

πŸŽ€ SYNOPSIS πŸŽ€

#include <allegro5/allegro_audio.h>

void al_drain_audio_stream(ALLEGRO_AUDIO_STREAM *stream)

πŸ¦‹ DESCRIPTION πŸ¦‹

You should call this to finalise an audio stream that you will no longer be feeding, so it can wait for all pending buffers to finish playing. it’s giving β€œokay bye, let the queue empty out” energy πŸ’…

The stream’s playing state will change to false. periodt.

🌈 SEE ALSO 🌈


k bye πŸ’– source/version: Allegro reference manual; page: al_drain_audio_stream(3alleg5); date: not printed in this footer, so that’s the whole tea. mwah πŸ’…βœ¨

πŸ“¦ where this page comes from