AuListBuckets(3)
β¨ NAME β¨
okay so bestie, this is AuListBuckets(3) from the Library Functions Manual, and she is serving one iconic purpose: AuListBuckets - list buckets. that's the whole vibe. π
β¨
πΈ SYNOPSIS πΈ
first you gotta include the header, then call her like this, no cap:
#include <audio/audiolib.h>
AuBucketAttributes *AuListBuckets(server, valuemask, attributes,
nbuckets, status)
AuServer *server;
AuMask valuemask;
AuBucketAttributes *attributes;
int *nbuckets; /* RETURN */
AuStatus *status; /* RETURN */
π ARGUMENTS π
serverβ specifies the connection to the audio server. like, which server are we gossiping with? that one. π«Άvaluemaskβ specifies which bucket attributes are defined inattributes. this must be a bitwise inclusive OR of zero or more of these constants:AuCompCommonIDMask,AuCompCommonKindMask,AuCompCommonUseMask,AuCommonFormatMask,AuCommonNumTracksMask,AuCommonAccessMask,AuCommonDescriptionMask,AuCompBucketSampleRateMask, orAuCompBucketNumSamplesMask. ifvaluemaskis zero, the attributes are ignored and are not referenced. so zero means she's not even looking at them, bestie. πattributesβ specifies the structure from which the values (as specified by the value mask) are to be taken. it's the little info holder she reads from. πnbucketsβ returns the number of buckets in the returned list. this one's a/* RETURN */girlie. π’statusβ ifnon-NULL, flush the output buffer and return the status from the server. also marked/* RETURN */in the synopsis. she's the receipts. π§Ύ
π DESCRIPTION π
so what's the tea? AuListBuckets returns a list of buckets whose attributes match those values in attributes specified by valuemask, or NULL, with nbuckets set to 0, if there was an error. and when you're done with the list, use AuFreeBucketAttributes to free it when it's no longer needed. don't be a messy bestie and leave it lying around. π
ngl, if there was an error you getNULLandnbucketsis0β that's the signal, periodt.
π ERRORS π
AuBadLength.
π SEE ALSO π
AuGetBucketAttributes.audiolib - Network Audio System C Language Interface.
xoxo, this page is brought to you by audiolib - bucket attributes, version/date 1.9.5, and it's literally the AuListBuckets(3) manual. byeee ππ«Ά
π¦ 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