al_drain_audio_stream(3alleg5)
π 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 π
al_destroy_audio_stream(3alleg5)β the other page youβll wanna peek at, bestie π«Ά
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
- 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