AL_DESTROY_AUDIO_RECORDER(3)
al_destroy_audio_recorder(3) π
okay so bestie, this page is from the Library Functions Manual and it's literally the Allegro 5 API page for cleaning up an audio recorder. No cap. π
π NAME π
al_destroy_audio_recorderβ Allegro 5 API
β¨ SYNOPSIS β¨
#include <allegro5/allegro_audio.h>
void al_destroy_audio_recorder(ALLEGRO_AUDIO_RECORDER *r)
π¦ DESCRIPTION π¦
So al_destroy_audio_recorder destroys the audio recorder and frees, like, all the resources associated with it. Iconic cleanup behavior, honestly. β¨
And yes: it is safe to destroy a recorder that is recording. Slay. You don't have to stop it first. π
β οΈ heads up, bestie: you may receive events after the recorder has been destroyed. You must ignore them, because the fragment buffer will no longer be valid. Do not interact. Just let them go. π
πΈ SINCE πΈ
5.1.1
[Unstable API]: The API may need a slight redesign.
So yeah, it's giving unstable-API energy. Use accordingly. π
π cute sign-off: source/version β Allegro reference manual Β· Allegro 5 API; footer page β al_destroy...io_recorder(3); date β nope, not printed here, bestie. π«Ά
π¦ 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