AuMakeElementBundle(3)

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

πŸ’– AuMakeElementBundle(3) πŸ’–

okay bestie, welcome to the Library Functions Manual corner of the internet, where we're talking about AuMakeElementBundle from the Network Audio System C Language Interface (aka audiolib, she's iconic) ✨


πŸŽ€ NAME πŸŽ€

AuMakeElementBundle β€” initialize a Bundle element. that's it, that's the whole vibe. she bundles. she initializes. she serves. πŸ’…


🌸 SYNOPSIS 🌸

#include <audio/audiolib.h>

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

πŸ¦‹ ARGUMENTS πŸ¦‹

  • element β€” the return spot, babes. she gets the initialized element handed to her. (/* RETURN */, literally)
  • num_inputs β€” how many input tracks you wanna bundle together. that's the count, no cap.
  • inputs β€” the actual list of input tracks being bundled. pro tip: the entries in this list can be initialized with AuMakeInputTrack. 🫢

✨ DESCRIPTION ✨

so here's the tea: AuMakeElementBundle sets the type member of element to AuElementTypeBundle, and then it initializes the bundle member of element with all the remaining arguments. two members, one function call, chef's kiss 😭

and the fun lil detail β€” AuMakeElementBundle is implemented as a macro. so like, it's not a real function, it's a macro doing macro things. iykyk. 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, all of them, every single one, go say hi:

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

and obviously audiolib β€” Network Audio System C Language Interface πŸ’œ


fr fr bestie, this whole page is audiolib β€” element initialization, version 1.9.5. mwah. that's the sign-off, take care of her, she's a 1.9.5 girlie. πŸ’–πŸŽ€πŸ¦‹
πŸ“¦ where this page comes from