AUMAKEELEMENTEXPORTDEVICE(3x)
β¨ NAME β¨
okay so bestie, welcome to the Library Functions Manual π today's main character is AuMakeElementExportDevice β she initializes an ExportDevice element. that's it, that's her whole job, and she does it flawlessly π
πΈ 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;
no cap, that's the whole vibe right there π¦
π ARGUMENTS π
elementβ she's the RETURN girlie π«Ά you hand her over and she comes back all initialized. glow-up complete.inputβ the index of the element that's feeding the audio data into this one. like, who's supplying the tea βdeviceβ the ID of the device where all that audio data is getting sent. destination unlocked πsample_rateβ the sample_rate of the audio data. literally just the sample rate, bestie, she said what she said β¨num_samplesβ how many samples you're sending to the device. and listen β if you want it to just keep going forever and ever, useAuUnlimitedSamplesand she will NOT stop πnum_actionsβ the number of actions sitting inactions. yes, you have to count them yourself πactionsβ the list of actions you're associating with this element. you can initialize the entries in this list withAuMakeChangeStateAction,AuMakeSendNotifyAction, andAuMakeNoopAction. and oh β it May beNULL. so if you're feeling minimal, that's valid π
π DESCRIPTION π
so what does she actually do? AuMakeElementExportDevice sets the type member of element to AuElementTypeExportDevice and then initializes the exportdevice member of element with all the remaining arguments. every single one. nothing left behind π
and here's the little secret β AuMakeElementExportDevice is implemented as a macro. iykyk β¨
π SEE ALSO π
the whole friend group, all iconic, all linked:
AuMakeElementAddConstantAuMakeElementBundleAuMakeElementExportBucketAuMakeElementExportClientAuMakeElementExportMonitorAuMakeElementImportBucketAuMakeElementImportClientAuMakeElementImportDeviceAuMakeElementImportWaveFormAuMakeElementMultiplyConstantAuMakeElementSum
and also audiolib β Network Audio System C Language Interface π§
and that's the whole page, bestie!! this was audiolib β element initialization, version 1.9.5, brought to you by the fine folks behind AuMakeElem...xportDevice(3) π mwah, go initialize something gorgeous π
β¨
π¦ where this page comes from
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- copyright 1994 Steven King
- Copyright 1993 Network Computing Devices, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms