AuElementState(3)
β¨ NAME β¨
okay so bestie, welcome to AuElementState(3) β it's from the Library Functions Manual, and it's literally the element state structure. That's the whole vibe. π«Ά
π¦ STRUCTURES π¦
First, the include, because we love a proper entrance:
#include <audio/audiolib.h>
Then the glow-up, the struct itself:
typedef struct _AuElementState
{
AuFlowID flow;
unsigned char element_num;
unsigned char state;
unsigned short pad;
}AuElementState;
No cap, that's it. Four fields, main character energy, pad included because we don't erase her. π
π MEMBERS π
flowβ specifies the flow. π§element_numβ specifies the index of the element of interest. UseAuElementAllto access the state of the flow. (Yes,AuElementAllis your bestie here. She's the all-access pass.) ποΈstateβ specifies the state of the element (or flow) specified byelement_num. This should be one of these constants β the manpage says "thses", iconic typo, we keep it βAuStateStop,AuStateStart, orAuStatePause. Pick one, don't freestyle. π¦
πΈ DESCRIPTION πΈ
The AuElementState structure is used to access the state of elements in a flow. Only flows and component elements have state. The component elements are: ExportBucket, ExportClient, ExportDevice, ImportClient, ImportDevice, ImportBucket, and ImportWaveForm. That's the list. If it's not in that list, it's not giving state, periodt. π
π SEE ALSO π
AuGetElementStatesAuMakeElementStateAuGetElementStates(yes, it's listed twice, she's an icon, we don't question it) β¨audiolibβ Network Audio System C Language Interface
mwah π this page was brought to you by audiolib, version 1.9.5, and it's AuElementState(3) β element state structure realness. stay slay, 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