AuMakeElementState(3)

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

✨ NAME ✨

okay so bestie, welcome to AuMakeElementState(3) from the Library Functions Manual πŸ’… this is your girl for initializing an element state structure, and she ate.

AuMakeElementState β€” initialize an element state structure


🌸 SYNOPSIS 🌸

#include <audio/audiolib.h>

AuMakeElementState(state, flow, element_num, state)
    AuElementState *state; /* RETURN */
    AuFlowID flow;
    unsigned char element_num;
    unsigned char state;

πŸŽ€ ARGUMENTS πŸŽ€

  • state β€” Returns the initialized element state structure. like, she's the output, the main character result ✨
  • flow β€” Specifies the ID of the flow.
  • element_num β€” Specifies the index of the element in flow. Use AuElementAll to specify the flow. (iykyk)
  • state β€” Specifies the state of the element. This should be one of thses constants (yes the manpage really typed thses, and we respect the typo, periodt): AuStateStop, AuStateStart, or AuStatePause.

πŸ’– DESCRIPTION πŸ’–

AuMakeElementState initializes an AuElementState structure for use in a subsequent call to AuGetElementStates or AuSetElementStates.

AuMakeElementState is implemented as a macro. (macro magic, no cap ✨)


😭 ERRORS 😭

AuBadFlow, AuBadElement.

also bestie, this whole page lives under audiolib - Network Audio System C Language Interface 🌈


okay that's the whole vibe! the footer said audiolib - element state structur... 1.9.5 on the left and AuMakeElementState(3) on the right, so shoutout to audiolib version 1.9.5 πŸ’– bye bestie, mwah πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from