AUMAKEELEMENTEXPORTBUCKET(3nas)
β¨ AuMakeElementExportBucket β the "okay bestie let's export this audio to a bucket" init π
so like, we're in the 3nas section of the Library Functions Manual, and today's main character is AuMakeElementExportBucket π she's a little macro that gets an ExportBucket element all set up and ready to go. no cap.
πΈ Name πΈ
AuMakeElementExportBucket β initialize an ExportBucket element π¦
β¨ 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;
like. look at her. seven arguments. she's thriving π
π«Ά Arguments π«Ά
elementβ this one's the/* RETURN */girlie, she hands you back the initialized element. she's the whole point, lowkey.inputβ specifies the index of the element that's supplying the audio data to this element. so like, who's feeding us πbucketβ specifies the ID of the bucket we're writing the audio data to. yes bestie, that bucket.num_samplesβ specifies the number of samples to write to the bucket. how many. that's it. that's the number.offsetβ specifies the offset into the bucket to begin writing at. not the start β where in the bucket we start. very important distinction, iykyk.num_actionsβ specifies the number of actions inactions. (yes, they're the same name-ish. the audiolib girlies love a symmetry β¨)actionsβ specifies the list of actions to associate with this element. entries in this list can be initialized withAuMakeChangeStateAction,AuMakeSendNotifyAction, andAuMakeNoopAction. May beNULL. π«Ά
π Description π
okay so here's the tea, bestie β
AuMakeElementExportBucket sets the type member of element to AuElementTypeExportBucket β that's the vibe check right there, she's announcing what she is β and then it initializes the exportbucket member of element with the remaining arguments. all of them. every single one. she ate and left no crumbs π₯
and the iconic part: AuMakeElementExportBucket is implemented as a macro. periodt. π
π See Also π
like, if you're obsessed with this one (and you should be), go give her sisters some love too π
AuMakeElementAddConstantAuMakeElementBundleAuMakeElementExportClientAuMakeElementExportDeviceAuMakeElementExportMonitorAuMakeElementImportBucketAuMakeElementImportClientAuMakeElementImportDeviceAuMakeElementImportWaveFormAuMakeElementMultiplyConstantAuMakeElementSum
and also:
audiolibβ Network Audio System C Language Interface π
ngl bestie, if you're out here calling this and it's not doing what you want, double check yourinputindex and yourbucketID first. that's where the drama usually lives π
okay that's the whole page, mwah π this was audiolib - element initialization, version 1.9.4, from the AuMakeElementExportBucket(3) page in the 3nas manual β thanks for reading, love u, bye πβ¨π¦
π¦ where this page comes from
- debian bookworm: libaudio-dev 1.9.4-7
- debian trixie: libaudio-dev 1.9.4-9
- ubuntu jammy: libaudio-dev 1.9.4-7build1
- ubuntu noble: libaudio-dev 1.9.4-8
- ubuntu questing: libaudio-dev 1.9.4-9
- ubuntu resolute: libaudio-dev 1.9.4-9.2
- ubuntu stonking: libaudio-dev 1.9.4-9.2
- 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