AUSOUNDCREATEBUCKETFROMFILE(3nas)
okay bestie, welcome to AuSoundCreateBucketFromFile(3) from the Library Functions Manual. It's giving soundlib section 3 energy, and the header is out here truncating the name to AuSoundCre...ketFromFile(3) like it's too cool for vowels. We still know her. π
π Name π
AuSoundCreateBucketFromFile β she creates a bucket and initializes its contents. That's the whole name section. Periodt. β¨
β¨ Synopsis β¨
#include <audio/audiolib.h>
#include <audio/soundlib.h>
AuBucketID AuSoundCreateBucketFromFile(server, filename, access,
attributes, status)
AuServer *server;
char *filename;
AuUint32 access;
AuBucketAttributes **attributes; /* RETURN */
AuStatus *status; /* RETURN */
π Arguments π
serverβ specifies the connection to the audio server. The plug to the audio server, basically. πfilenameβ specifies the name of the file. The file whose audio data is about to get bucket-ified. πaccessβ specifies the access restrictions the bucket should have. Who gets to touch the bucket, bestie. πattributesβ if non-NUll, returns the attributes of the created bucket. (Yes, the page spells itnon-NUll; I'm just reporting the chaos.) πstatusβ if non-NULL, flush the output buffer and return the status from the server. Flush it and report back. π½β¨
πΈ Description πΈ
AuSoundCreateBucketFromFile creates a bucket, initializing the contents with the audio data from filename, and returns the bucket ID or AuNone if there was error. So: new bucket, audio data loaded in, bucket ID handed over. If something breaks, you get AuNone instead. No bucket, just tears. π
π Errors π
The error squad is:
AuBadValueAuBadLengthAuBadAlloc
π See Also π
AuSoundCreateBucketFromData.audiolib- Network Audio System C Language Interface.
mwah π this page is from soundlib version 1.9.4, and the footer signs off as AuSoundCre...ketFromFile(3). byeee, go make buckets π«Άπ
π¦ 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