al_drain_audio_stream(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’– al_drain_audio_stream πŸ’–

Bestie, this page lives in the Library Functions Manual and it’s giving Allegro 5 API energy. πŸŽ€

✨ NAME ✨

al_drain_audio_stream β€” Allegro 5 API. It’s the audio-stream finaliser, and yes it’s lowkey iconic for that. πŸ¦‹

🌸 SYNOPSIS 🌸

#include <allegro5/allegro_audio.h>

void al_drain_audio_stream(ALLEGRO_AUDIO_STREAM *stream)

πŸ’… DESCRIPTION πŸ’…

Okay so you should call this to finalise an audio stream that you will no longer be feeding, bestie β€” it waits for all pending buffers to finish playing. 🫢

The stream’s playing state will change to false. Periodt. ✨

πŸ”₯ SEE ALSO πŸ”₯


Signed off with love by the Allegro reference manual. Version/date: not listed on this page, bestie β€” that’s all the metadata we get. πŸ’…πŸ«Ά

πŸ“¦ 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