AuSetElementStates(3)

🌈 AuSetElementStates(3) 🌈

okay bestie, welcome to the AuSetElementStates(3) page from the Library Functions Manual! it's giving flow element state realness and we're about to break it all the way down. no cap. πŸ’–


✨ Name ✨

AuSetElementStates β€” set the state of elements in a flow. periodt.

πŸ¦‹ Synopsis πŸ¦‹

#include <audio/audiolib.h>

void AuSetElementStates(server, num_states, states, status)
    AuServer *server;
    int num_states;
    AuElementStates *states;
    AuStatus *status; /* RETURN */

πŸ’… Arguments πŸ’…

  • server β€” Specifies the connection to the audio server. it's your link to the server, bestie. 🫢
  • num_states β€” Specifies the number of element states. literally how many states you're passing. πŸ”’
  • states β€” Specifies the list of element states to use. the actual list, the main character. πŸ‘‘
  • status β€” If non-NULL, flush the output buffer and return the status from the server. so if you want the server's receipts, pass a non-NULL pointer. πŸ’Œ

🌸 Description 🌸

AuSetElementStates changes the states of those elements in those flows specified in states. that's it, that's the tea. it does exactly what it says on the tin, and it ate. ✨

πŸŽ€ NoteS πŸŽ€

Attempting to set the state of non-component elements (AddConstant, Bundle, ExportMonitor, MultiplyConstant, and Sum) will result in an error. so like, don't do that unless you want the server to be like πŸ’€. those are not the vibes. error incoming.

πŸ’₯ Errors πŸ’₯

you might catch these: AuBadFlow, AuBadElement, AuBadAlloc, AuBadLength. keep an eye out, bestie. 😭

🫢 See Also 🫢

  • AuGetElementStates.
  • audiolib - Network Audio System C Language Interface

okay bye bestie! this was audiolib - flow element states, version 1.9.4, and the manual name is AuSetElementStates(3). stay slay. πŸ’…βœ¨

πŸ“¦ where this page comes from