AuFreeElementStates(3)

πŸ“¦ version 1.9.5, in fedora 43, fedora 44

πŸ’… AuFreeElementStates(3) β€” the one where we yeet element-state lists into the void

okay bestie, welcome to the Library Functions Manual section, specifically the AuFreeElementStates(3) page, and no I will not be normal about it ✨


πŸŽ€ NAME πŸŽ€

AuFreeElementStates β€” free the memory used by lists of flow element states

like... it's the cleanup crew. the afterparty sweeper. the "okay everyone go home" of flow element states πŸ§ΉπŸ’–


🌸 SYNOPSIS 🌸

#include <audio/audiolib.h>

void AuFreeElementStates(server, num_states, states)
    AuServer *server;
    int num_states;
    AuElementState *states;

she takes three things and returns literally nothing, because her job is giving freedom to memory πŸ’€ iconic behaviour fr


πŸ¦‹ ARGUMENTS πŸ¦‹

  • server β€” the connection to the audio server. yes, you gotta tell her which server you're talking to, she's not psychic 🫢
  • num_states β€” how many element states you want freed. the count. the receipts. the "how many am I deleting" number πŸ‘‘
  • states β€” a list of element states, and specifically the ones returned by AuGetElementStates. don't just hand her any old list, she wants those πŸ“

✨ DESCRIPTION ✨

AuFreeElements frees the memory allocated by AuGetElementStates. πŸ’–

that's it. that's the whole thing. she frees the memory. no cap. the audiolib girlies know. audiolib β€” Network Audio System C Language Interface 🌈


lowkey a public service announcement: if you got memory from AuGetElementStates, and you're done with it, you hand it to AuFreeElementStates. that's the vibe check. that's the whole dynamic. πŸ’…

and that's the page bestie!! mwah 🫢

audiolib β€” flow element states Β· version 1.9.5 Β· AuFreeElementStates(3) β€” signed, sealed, dated, and slaying forever πŸ’œπŸŽ€βœ¨

πŸ“¦ where this page comes from