AuSetBucketAttributes(3)
β¨ AuSetBucketAttributes β¨
okay bestie, welcome to the AuSetBucketAttributes(3) page from the Library Functions Manual π this one's a whole mood: it sets bucket attributes, and also... it does not work. we'll get there. sit down, hydrate, let's go π«Ά
πΈ NAME πΈ
AuSetBucketAttributes β set bucket attributes π
π SYNOPSIS π
#include <audio/audiolib.h>
void AuSetBucketAttributes(server, bucket, valuemask, attributes,
status)
AuServer *server;
AuBucketID bucket;
AuMask valuemask;
AuBucketAttributes *attributes;
AuStatus *status; /* RETURN */
π¦ ARGUMENTS π¦
serverβ the connection to the audio server, your little lifeline fr πbucketβ the audio bucket in question πvaluemaskβ tells the function which bucket attributes are actually defined in theattributesargument. it has to be a bitwise inclusive OR of one or more of these constants:AuCompCommonIDMask,AuCompCommonKindMask,AuCompCommonUseMask,AuCommonFormatMask,AuCommonNumTracksMask,AuCommonAccessMask,AuCommonDescriptionMask,AuCompBucketSampleRateMask, orAuCompBucketSamplesMask. that's a lot of masks, i know, but pick the ones you need and OR them together πattributesβ the structure the values get pulled from, as specified by the value mask β¨statusβ if it's non-NULL, the output buffer gets flushed and the status from the server comes back to you. if it'sNULL, nothing comes back, no cap π
π DESCRIPTION π
AuSetBucketAttributes sets the attributes of bucket using only those values in attributes specified by valuemask. that's it, that's the function. the way that it's a one-line description and then the server just doesn't implement it is genuinely giving tragedy π
π BUGS π
bestie. this is not implemented in the server. expect an AuBadImplementation error if you use it in a client application. like, don't. just don't. π
π ERRORS π
AuBadImplementation.
π§ SEE ALSO π§
AuGetBucketAttributesβ the one that might actually do something, iykyk πaudiolibβ Network Audio System C Language Interface π
and that's the page!! stay hydrated, check your return statuses, and please for the love of everything don't call this one in prod π this was audiolib - bucket attributes, version 1.9.4, from the AuSetBucketAttributes(3) era β mwah, bye bestie, slay responsibly πβ¨
π¦ 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