AUSOUNDCREATEBUCKETFROMDATA(3x)
π AuSoundCreateBucketFromData π
okay bestie, so this is a page from the Library Functions Manual β the audiolib/soundlib girlies know β¨
πΈ Name πΈ
AuSoundCreateBucketFromData β make a bucket and fill it with your audio data, that's literally the whole job π
β¨ Synopsis β¨
#include <audio/audiolib.h>
#include <audio/soundlib.h>
AuBucketID AuSoundCreateBucketFromData(server, sound, data, access,
attributes, status)
AuServer *server;
Sound sound;
AuPointer data;
AuUint32 access;
AuBucketAttributes **attributes; /* RETURN */
AuStatus *status; /* RETURN */
so yeah, it hands you back an AuBucketID and you're off π¦
π«Ά Arguments π«Ά
serverβ the connection to the audio server. like, your whole line to the server bestie, pls pass it in πsoundβ describes the audio data. it's aSound, and it's telling everyone what the audio actually is.dataβ the actual audio data that's going in the bucket. the goods. the moment. πaccessβ the access restrictions the bucket should have. who's allowed in, who's not, boundaries are iconic πattributesβ if this is non-NULL, it returns the attributes of the created bucket. yes bestie, you get the receipts πstatusβ if this is non-NULL, it flushes the output buffer and returns the status from the server. also aRETURNvalue, so keep it somewhere cute π
π¦ Description π¦
AuSoundCreateBucketFromData creates a bucket, initializing the contents with the audio data from data, and returns the bucket ID β or AuNone if there was error. π
so like, you bring the data, it brings the bucket, match made in heaven, no cap. and if it flops? you get AuNone. that's the vibe check. periodt.
π Errors π
these ones can pop up, bestie, no shade:
AuBadValueAuBadLengthAuBadAlloc
π See Also π
AuSoundCreateBucketFromFileaudiolibβ Network Audio System C Language Interface
and that's the whole page, mwah π
this was soundlib, version 1.9.5, page AuSoundCreateBucketFromData(3) β go make some buckets, you absolute main character πβ¨π«Ά
π¦ 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