AuSetElements(3)

πŸ’– AuSetElements(3) πŸ’–

okay bestie, so this one lives in the Library Functions Manual and it's literally called AuSetElements β€” it's giving "set the elements in a flow" energy and honestly? iconic. ✨


🌸 NAME 🌸

AuSetElements β€” set elements in a flow πŸŽ€


✨ SYNOPSIS ✨

#include <audio/audiolib.h>

void AuSetElements(server, flow, clocked, num_elements, elements,
status)
    AuServer *server;
    AuFlowID flow;
    AuBool clocked;
    int num_elements;
    AuElement *elements;
    AuStatus *status; /* RETURN */

🫢 ARGUMENTS 🫢

  • server β€” the connection to the audio server. it's your link-up, your main character connection, don't lose it πŸ’…
  • flow β€” the ID of the flow you're setting elements in. you gotta know which flow, no cap πŸ¦‹
  • clocked β€” tells you if the flow is clocked or not. big deal, keep reading, there's a note about this πŸ‘€
  • num_elements β€” how many elements there are. literally just the count, bestie πŸ”’
  • elements β€” the list of elements to use. the whole squad of elements, all of them 🌈
  • status β€” if it's non-NULL, it flushes the output buffer and returns the status from the server. so like, if you actually want to hear back from the server, pass this. if you're chill and don't care, pass NULL πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

AuSetElements is used to set the elements in flow. that's it. that's the whole job. it sets the elements. slay πŸ’…βœ¨


πŸŽ€ NOTE πŸŽ€

bestie, important!! Unclocked flows β€” that means specifying a value of AuFalse for clocked β€” are not implemented. so don't come crying to me when it doesn't work, because it was never gonna work. periodt. πŸ’€

😭 ERRORS 😭

the vibes can go wrong in these specific ways:

  • AuBadFlow
  • AuBadLength
  • AuBadElement
  • AuBadAlloc
  • AuBadValue

πŸ‘‘ SEE ALSO πŸ‘‘

  • AuGetElements
  • AuSetElementParameters

audiolib β€” Network Audio System C Language Interface 🌸


okay that's the whole page, bestie, you ate that πŸ«ΆπŸ’– stay hydrated, keep your flows clocked (when implemented), and remember: AuSetElements sets elements. that's the tea. mwah πŸ’…

this has been audiolib β€” flow elements, version 1.9.4, dated AuSetElements(3) πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from