AuSetBucketAttributes(3)

πŸ“¦ version 1.9.5, in fedora 43, fedora 44

✨ AuSetBucketAttributes(3) ✨

okay so bestie, welcome to the Library Functions Manual πŸ’– this is the page for AuSetBucketAttributes(3), and yes she's a whole vibe, let's get into it πŸŽ€


🌸 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 lil hotline to the sound, basically πŸ“ž
  • bucket β€” the audio bucket. yes, we're doing bucket business today πŸͺ£
  • valuemask β€” tells everyone which bucket attributes are actually defined in the attributes argument. this has to be a bitwise inclusive OR of one or more of these constants, no cap: AuCompCommonIDMask, AuCompCommonKindMask, AuCompCommonUseMask, AuCommonFormatMask, AuCommonNumTracksMask, AuCommonAccessMask, AuCommonDescriptionMask, AuCompBucketSampleRateMask, or AuCompBucketSamplesMask. that's the whole list, don't skip any, they're all iconic ✨
  • attributes β€” the structure you're pulling the values from, as specified by the value mask. it's giving "the source of truth" πŸ’–
  • status β€” if it's non-NULL, this flushes the output buffer and returns the status from the server. if it's NULL, we simply do not bother 🫢

🌈 DESCRIPTION 🌈

AuSetBucketAttributes sets the attributes of bucket using only those values in attributes specified by valuemask. that's it, that's the whole thing, main character energy only πŸ‘‘


πŸ’€ BUGS πŸ’€

not me having to tell you this... this is not implemented in the server. expect an AuBadImplementation error if you use it in a client application. so like, go off i guess, but she will not be slaying today 😭

πŸ”₯ ERRORS πŸ”₯

AuBadImplementation.


πŸ‘‘ SEE ALSO πŸ‘‘

  • AuGetBucketAttributes.
  • audiolib β€” Network Audio System C Language Interface

and that's the whole page bestie, tysm for reading, mwah πŸ’œ

this diva came straight out of audiolib - bucket attributes, version 1.9.5, and she's filed under AuSetBucketAttributes(3) β€” periodt βœ¨πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from