AuMakeElementSum(3)

✨ NAME ✨

okay so bestie, this is the AuMakeElementSum(3) page, and it lives in the Library Functions Manual (the audiolib corner of the Unix universe, iykyk). It's giving: initialize an Sum element. πŸŽ€


🌸 SYNOPSIS 🌸

#include <audio/audiolib.h>

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

πŸ’… ARGUMENTS πŸ’…

  • element β€” Returns the initialized element. (yes queen, it's a RETURN situation)
  • num_inputs β€” Specifies the number of inputs. Count them, bestie. πŸ”’
  • inputs β€” Specifies the list of inputs. Each entry in the list is an index of an element that will supply audio data to this element. So it's literally a little lineup of who's feeding audio into this thing. 🎢

πŸ¦‹ DESCRIPTION πŸ¦‹

So AuMakeElementSum sets the type member of element to AuElementTypeSum, and it initializes the sum member of element with the remaining arguments. That's the whole glow-up. ✨

And no cap: AuMakeElementSum is implemented as a macro. Not a function-function. A macro. Periodt. πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

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

audiolib - Network Audio System C Language Interface 🌈


πŸ’– that's the page, bestie! signing off from audiolib - element initialization, version 1.9.4, on the AuMakeElementSum(3) page (no date in the footer, so that's all we got) πŸ’–

πŸ“¦ where this page comes from