al_destroy_audio_stream(3alleg5)
π NAME π
al_destroy_audio_stream β the Allegro 5 API's official "bye bestie" button for audio streams π
Part of the Allegro 5 reference manual, and yeah, it lives in section 3alleg5, iykyk.
β¨ SYNOPSIS β¨
#include <allegro5/allegro_audio.h>
void al_destroy_audio_stream(ALLEGRO_AUDIO_STREAM *stream)
π¦ DESCRIPTION π¦
Okay so you've got an audio stream, and now it's gotta go. This function destroys an audio stream β but only the kind you made with al_create_audio_stream(3alleg5) or al_load_audio_stream(3alleg5). Those are its people, fr fr. π
Note: If the stream is still attached to a mixer or a voice, al_detach_audio_stream(3alleg5) gets called on it automatically first. Like, the function handles the breakup logistics for you before it ghosts. No cap, you don't have to detach it yourself. π«Ά
πΈ SEE ALSO πΈ
That's the whole vibe, bestie π β written up in the Allegro reference manual, page al_destroy_audio_stream(3alleg5). Go forth and free your memory, you absolute icon πβ¨
π¦ 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