AuMakeElementBundle(3)

πŸŽ€ NAME πŸŽ€

AuMakeElementBundle β€” bestie, this one initializes a Bundle element for you πŸ’…

This page lives in the audiolib manual, which is where all the Network Audio System C language interface girlies hang out ✨


🌸 SYNOPSIS 🌸

#include <audio/audiolib.h>

AuMakeElementBundle(element, num_inputs, inputs)
    AuElement *element; /* RETURN */
    unsigned short num_inputs;
    AuInputTrack *inputs;

🫢 ARGUMENTS 🫢

  • element β€” okay so this one is the RETURN girlie πŸŽ€ you hand her over and she comes back all initialized and glowing ✨
  • num_inputs β€” the number of input tracks you wanna bundle up, fr fr. It's an unsigned short, so keep it cute and in range πŸ“
  • inputs β€” the actual list of input tracks to bundle. Pro tip from me to you: the entries in this list can be initialized with AuMakeInputTrack πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

So what AuMakeElementBundle does is literally two things and she ate:

  1. She sets the type member of element to AuElementTypeBundle β€” no cap, that's the whole vibe check right there.
  2. She initializes the bundle member of element using the remaining arguments. Periodt. πŸ’…
Important bestie note: AuMakeElementBundle is implemented as a macro. Not a function. A macro. So don't be out here taking her address or doing weird preprocessor-adjacent shenanigans, iykyk 😭

πŸ‘‘ SEE ALSO πŸ‘‘

The whole squad, all together, all iconic:

  • AuMakeElementAddConstant
  • AuMakeElementExportBucket
  • AuMakeElementExportClient
  • AuMakeElementExportDevice
  • AuMakeElementExportMonitor
  • AuMakeElementImportBucket
  • AuMakeElementImportClient
  • AuMakeElementImportDevice
  • AuMakeElementImportWaveForm
  • AuMakeElementMultiplyConstant
  • AuMakeElementSum

And also, the main character herself: audiolib β€” Network Audio System C Language Interface 🌈


Mwah πŸ’‹ that's the page. This little love letter comes from audiolib - element initialization, version 1.9.4, AuMakeElementBundle(3) β€” go forth and bundle those input tracks, you absolute icon πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from