AuElementParameters(3)

πŸ’– AuElementParameters πŸ’–

okay bestie, we're in the Library Functions Manual section of audiolib rn, and today's main character is a lil struct called AuElementParameters β€” it's the element parameters structure, and yes she's iconic for it.


✨ Name ✨

AuElementParameters β€” the element parameters structure, periodt. πŸŽ€


🧚 Structures 🧚

first things first, go get your header, she lives here:

#include <audio/audiolib.h>

and here's the whole struct, verbatim, no cap:

typedef struct _AuElementParameters
{
    AuFlowID flow;
    unsigned char element_num;
    unsigned char num_parameters;
    unsigned short pad;
    AuInt32 parameters[AU_MAX_PARMS];
}AuElementParameters;

look at her. so structured. so slay. πŸ’…


🌸 Members 🌸

  • flow β€” this is the ID of the flow, bestie. it tells you which flow we're talking about. πŸ¦‹
  • element_num β€” the index of the element. yes, the index. it's giving "which one in the lineup". πŸ”₯
  • num_parameters β€” the number of parameters. simple, cute, does her job. ✨
  • parameters β€” an array holding the element parameters. it's literally AuInt32 parameters[AU_MAX_PARMS], so she holds up to AU_MAX_PARMS of them. πŸ‘‘

πŸ’œ Description πŸ’œ

so the whole point of AuElementParameters is that she's used to access those element parameters that can be changed dynamically. that's the vibe. that's the assignment. she ate and left no crumbs. 😭


🌈 See Also 🌈

  • AuGetElementParameters
  • AuSetElementParameters
  • audiolib β€” the Network Audio System C Language Interface 🫢

okay that's the whole page, you understood it perfectly, I'm so proud of you. this was pulled from the audiolib docs, version 1.9.4, and it's signed off in the corner as AuElementParameters(3) β€” go forth and parameter responsibly. mwah. πŸ’–πŸŒΈβœ¨

πŸ“¦ where this page comes from