AuSetElementStates(3)
π AuSetElementStates(3) π
okay bestie, so this one lives in the Library Functions Manual section of the audiolib docs, and it's literally the glow-up button for elements in a flow β¨
πΈ NAME πΈ
AuSetElementStates β set the state of elements in a flow π
β¨ SYNOPSIS β¨
#include <audio/audiolib.h>
void AuSetElementStates(server, num_states, states, status)
AuServer *server;
int num_states;
AuElementStates *states;
AuStatus *status; /* RETURN */
no cap, that's the whole shape of it π«Ά
π ARGUMENTS π
serverβ the connection to the audio server. it's giving "hi hello who am i talking to" πnum_statesβ how many element states we're talking about here, fr fr.statesβ the actual list of element states you wanna use. this is the main character of the whole call πstatusβ if it's non-NULL, it flushes the output buffer and hands you back the status from the server. if you're not nosy about it, you can passNULLπ
π¦ DESCRIPTION π¦
AuSetElementStates changes the states of those elements in those flows specified in states. like, exactly those ones. the ones you listed. that's the vibe check β
π NOTES π
π¨ okay so listen. attempting to set the state of non-component elements will result in an error. and the non-component girlies are:AddConstant,Bundle,ExportMonitor,MultiplyConstant, andSum.
so like. don't do that. they said no. π
π₯ ERRORS π₯
the possible ones, in all their chaotic glory:
AuBadFlowAuBadElementAuBadAllocAuBadLength
π SEE ALSO π
AuGetElementStatesβ the other half of the duo, iykyk πaudiolibβ Network Audio System C Language Interface
π§ the cute sign-off π§
this page is from audiolib, the flow element states corner of things, version 1.9.5, dated AuSetElementStates(3) β and that's the whole tea, 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