AL_DESTROY_AUDIO_RECORDER(3)

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

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