AUMAKEELEMENTEXPORTDEVICE(3nas)

✨ NAME ✨

AuMakeElementExportDevice β€” bestie, this one initializes an ExportDevice element πŸ’–


🌸 SYNOPSIS 🌸

#include <audio/audiolib.h>

AuMakeElementExportDevice(element, input, device, sample_rate,
num_samples, num_actions, actions)
    AuElement *element; /* RETURN */
    unsigned short input;
    AuDeviceID device;
    unsigned short sample_rate;
    AuUint32 num_samples;
    int num_actions;
    AuElementAction *actions;

πŸŽ€ ARGUMENTS πŸŽ€

  • element β€” this is your RETURN girlie ✨ she comes back all initialized and ready.
  • input β€” the index of the element that's supplying the audio data to this element, iykyk.
  • device β€” the ID of the device we're sending the audio data to. like, the destination, the final boss πŸ’…
  • sample_rate β€” specifies the sample_rate of the audio data. yes bestie, that sample rate.
  • num_samples β€” how many samples we're sending to the device. if you want unlimited, use AuUnlimitedSamples β€” no cap, literally unlimited 🫢
  • num_actions β€” the number of actions in actions.
  • actions β€” the list of actions to associate with this element. entries in this list can be initialized with AuMakeChangeStateAction, AuMakeSendNotifyAction, and AuMakeNoopAction. may be NULL, she's flexible like that πŸ’€

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so AuMakeElementExportDevice sets the type member of element to AuElementTypeExportDevice and initializes the exportdevice member of element with the rest of the arguments. main character behavior, honestly πŸ‘‘

AuMakeElementExportDevice is implemented as a macro. it's giving efficiency ✨


πŸ’œ SEE ALSO πŸ’œ

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

audiolib β€” Network Audio System C Language Interface 🌈


and that's the whole page bestie, slay πŸ’… this lil icon lives in the Library Functions Manual (AuMakeElem...xportDevice(3)) and it's part of audiolib - element initialization, version 1.9.4. go forth and export those devices fr fr πŸŽ€βœ¨

πŸ“¦ where this page comes from