AuMakeElementSum(3)

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

✨ Name ✨

okay so bestie, this is AuMakeElementSum(3) from the Library Functions Manual, and it's literally the glow-up guide for initializing an Sum element. πŸ’–


✨ Synopsis ✨

       #include <audio/audiolib.h>

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

so you call it like that, and the /* RETURN */ comment is doing its little main character moment. ✨


πŸŽ€ Arguments πŸŽ€

  • element β€” hands you back the initialized element. (the synopsis marks it /* RETURN */)
  • num_inputs β€” specifies the number of inputs.
  • 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 giving "these are my audio sources, periodt"

πŸ’… Description πŸ’…

AuMakeElementSum sets the type member of element to AuElementTypeSum and initializes the sum member of element with the remaining arguments. no cap, that's the whole vibe check.

AuMakeElementSum is implemented as a macro. not a regular function, bestie β€” a macro! iykyk. πŸ”₯


πŸ¦‹ See Also πŸ¦‹

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

audiolib - Network Audio System C Language Interface


✨ that's the whole page, bestie! ✨ this is AuMakeElementSum(3), from audiolib - element initialization, version 1.9.5. slay, bye! πŸ’…πŸ¦‹

πŸ“¦ where this page comes from