AuGetElementStates(3)
π AuGetElementStates(3) π
okay bestie, we're in the Library Functions Manual today and this one is literally all about peeking at the state of elements in a flow β¨ so let's get into it
π NAME π
AuGetElementStates β get the state of elements in a flow π
πΈ SYNOPSIS πΈ
#include <audio/audiolib.h>
AuElementState *AuGetElementStates(server, num_states, states, status)
AuServer *server;
int *num_states; /* SEND and RETURN */
AuElementState *states;
AuStatus *status; /* RETURN */
π¦ ARGUMENTS π¦
serverβ the connection to the audio server, aka your lil link to the whole operation π«Άnum_statesβ you send the number of element states that are instates, and it returns the number of element states that actually came back. it's giving send and return, it's giving multitasking πstatesβ the list ofAuElementStatestructures, and those are the ones saying which flow and which element number you want the state of. like a lil wishlist of states πstatusβ if it's non-NULL, the output buffer gets flushed and you get the status straight from the server. if it'sNULL, no status for you, no cap π
β DESCRIPTION β
AuGetElementStates returns a list of element states, or NULL with num_states set to 0 if there was an error π
and when you're done with that list? use AuFreeElementStates to free it when it's no longer needed, bestie. clean up after yourself, main character energy fr fr π§
π NOTES π
okay so this is the important bit: if you try to get the state of a non-component element β and that'sAddConstant,Bundle,ExportMonitor,MultiplyConstant, andSumβ you will get an error. not a vibe. don't do it π
π¨ ERRORS π¨
the possible errors are AuBadFlow, AuBadLength, AuBadAlloc, and AuBadElement π
π₯ SEE ALSO π₯
AuSetElementStatesβ the other half of this whole situation, the setter to this getter πaudiolibβ Network Audio System C Language Interface
and that's the whole page, periodt β¨ this was audiolib β flow elements states, version 1.9.5, from the AuGetElementStates(3) era, and honestly? iconic. go forth and get those states, bestie πππ¦
π¦ where this page comes from
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- copyright 1994 Steven King
- Copyright 1993 Network Computing Devices, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms