AuElementState(3)

πŸ“¦ version 1.9.5, in fedora 43, fedora 44

✨ 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. Use AuElementAll to access the state of the flow. (Yes, AuElementAll is your bestie here. She's the all-access pass.) 🎟️
  • state β€” specifies the state of the element (or flow) specified by element_num. This should be one of these constants β€” the manpage says "thses", iconic typo, we keep it β€” AuStateStop, AuStateStart, or AuStatePause. 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 πŸ‘‘

  • AuGetElementStates
  • AuMakeElementState
  • AuGetElementStates (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