AuMakeElem...ortMonitor(3)

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

✨ AuMakeElementExportMonitor ✨

okay bestie, so this is a page from the Library Functions Manual β€” section 3 of the audiolib docs, which is literally the Network Audio System C Language Interface, and today we're learning how to initialize an ExportMonitor element πŸ’…


🌸 NAME 🌸

AuMakeElementExportMonitor β€” initialize an ExportMonitor element πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <audio/audiolib.h>

AuMakeElementExportMonitor(element, input, event_rate, format,
num_tracks)
    AuElement *element; /* RETURN */
    unsigned short input;
    unsigned short event_rate;
    unsigned char format;
    unsigned char num_tracks;

πŸ’– ARGUMENTS πŸ’–

  • element β€” this one's the RETURN girlie, she hands you back the initialized element. she's not giving, she's receiving ✨
  • input β€” the index of the element that's gonna supply the audio data to monitor. like, who are we watching? her. πŸ‘€
  • event_rate β€” the event rate for the monitor. that's it, that's the vibe.
  • format β€” the format of the audio data. rn the formats that are defined are: AuFormatULAW8, AuFormatLinearUnsigned8, AuFormatLinearSigned8, AuFormatLinearSigned16MSB, AuFormatLinearUnsigned16MSB, AuFormatSignedLinear16LSB, and AuFormatLinearUnsigned16LSB. yes bestie, that's the whole list, don't come for me 🫢
  • num_tracks β€” how many tracks are in the audio data. count 'em. πŸ”₯

🌈 DESCRIPTION 🌈

okay so here's the tea β˜• β€” AuMakeElementExportMonitor sets the type member of element to AuElementTypeExportMonitor, and then it initializes the exportmonitor member of element using all the remaining arguments. that's literally the whole job. she does one thing and she eats. πŸ‘‘

also? AuMakeElementExportMonitor is implemented as a macro. not a function. a macro. so don't be out here taking its address or whatever, iykyk 😭


πŸ‘‘ SEE ALSO πŸ‘‘

you want the whole friend group? here's the whole friend group, no cap:

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

and also audiolib β€” the Network Audio System C Language Interface 🌟


and that's the page, bestie!! this was audiolib - element initialization, version 1.9.5, living in section 3 of the manual, and AuMakeElem...ortMonitor(3) is literally the name of the page you just read πŸ’œ mwah, go initialize some elements, you absolute icon πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from