AuDestroyFlow(3)

πŸ’– AuDestroyFlow β€” destroy flow πŸ’–

okay bestie, so this is a page from the Library Functions Manual (section 3, the C library girlies) and it's all about one tiny lil function in audiolib that just… yeets a flow out of existence. no cap.


✨ NAME ✨

AuDestroyFlow β€” destroy flow 🫢


🌸 SYNOPSIS 🌸

#include <audio/audiolib.h>

void AuDestroyFlow(server, flow, status)
    AuServer *server;
    AuFlowID flow;
    AuStatus *status; /* RETURN */

like, that's the whole signature. she's small but she's powerful, periodt. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • server β€” the connection to the audio server. your lil phone line to the sound gods, basically. ☎️
  • flow β€” the ID of the flow that's getting destroyed. say bye bye. πŸ‘‹
  • status β€” if it's non-NULL, the output buffer gets flushed and the status from the server gets returned in it. if it's NULL, she simply does not care. πŸ™ˆ

πŸ’… DESCRIPTION πŸ’…

so AuDestroyFlow destroys the specified flow, releasing all the resources that flow was using. and the way that it's immediate?? the flow is destroyed right then, right there. no queue, no waiting, no "let me think about it." just gone. πŸ’€

iconic behaviour honestly


😭 ERRORS 😭

  • AuBadFlow

that's it. that's the list. if the flow's bad, she's gonna let you know. 🚨


πŸ¦‹ SEE ALSO πŸ¦‹

  • AuCreateFlow β€” the origin story, the birth, the other half of this whole situation. 🌱
  • audiolib β€” Network Audio System C Language Interface

ngl bestie, if you're destroying a flow you didn't create, that's giving chaos. vibe check your flow IDs first. πŸ’–

k bye, this page came from audiolib β€” flow existence, version 1.9.4, and it's AuDestroyFlow(3) β€” mwah, slay, take care of ur flows 🧚✨

πŸ“¦ where this page comes from