AUMAKEELEMENTEXPORTBUCKET(3x)
β¨ AuMakeElementExportBucket β the NAME bit β¨
okay bestie, gather round π this is AuMakeElementExportBucket(3x) from the audiolib Library Functions Manual, and its whole entire job is: initialize an ExportBucket element. that's it. that's the girl. lowkey iconic for how unbothered she is.
it lives in the AuMakeElem...xportBucket(3) girlies chapter of the manual, and yes the title got truncated by the terminal, she's just that long π
πΈ SYNOPSIS πΈ
#include <audio/audiolib.h>
AuMakeElementExportBucket(element, input, bucket, num_samples, offset,
num_actions, actions)
AuElement *element; /* RETURN */
unsigned short input;
AuBucketID bucket;
AuUint32 num_samples;
AuInt32 offset;
int num_actions;
AuElementAction *actions;
no cap, copy that #include exactly, she's picky π
π¦ ARGUMENTS π¦
elementβ the return girl π«Ά you hand her over and she comes back initialized. (the original literally tags her/* RETURN */, so like, that's the vibe.)inputβ the index of the element that's gonna be supplying the audio data to this element. so basically "who's feeding me" πbucketβ theAuBucketIDof the bucket we're writing the audio data to. yes, to. she exports. it's in the name, bestie.num_samplesβ how many samples we're writing into that bucket. a number. aAuUint32one. βoffsetβ where in the bucket we start writing. the little "begin here" marker. anAuInt32, so she can be negative, live your truth β¨num_actionsβ how many actions are chillin' inactions.actionsβ the list of actions to associate with this element. and listen, these entries can be initialized withAuMakeChangeStateAction,AuMakeSendNotifyAction, andAuMakeNoopAction. also: may beNULL. so if you're not in an actions mood, she accepts that, we love a flexible queen π
π DESCRIPTION π
so what does she actually do? two things. two whole things. main character energy:
- she sets the
typemember ofelementtoAuElementTypeExportBucketπ - she initializes the
exportbucketmember ofelementwith the remaining arguments.
and that's the whole ritual. that's the spell.
heads up bestie: AuMakeElementExportBucket is implemented as a macro. so like, no function-call ceremony, no address-of-the-function shenanigans. it's giving preprocessor. iykyk π₯
π SEE ALSO π
go read her sisters, they're all in the same friend group:
AuMakeElementAddConstantAuMakeElementBundleAuMakeElementExportClientAuMakeElementExportDeviceAuMakeElementExportMonitorAuMakeElementImportBucketAuMakeElementImportClientAuMakeElementImportDeviceAuMakeElementImportWaveFormAuMakeElementMultiplyConstantAuMakeElementSum
and also, obviously:
audiolibβ Network Audio System C Language Interface π
ngl the wholeAuMakeElement...family is a vibe check on yourAuElementstructs. go off, initialize responsibly π
and that's the page, bestie!! this was audiolib β element initialization, version 1.9.5, from way back when, and she still slays fr fr. mwah πβ¨ππ¦
π¦ 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