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 the attributes argument. it has to be a bitwise inclusive OR of one or more of these constants: AuCompCommonIDMask, AuCompCommonKindMask, AuCompCommonUseMask, AuCommonFormatMask, AuCommonNumTracksMask, AuCommonAccessMask, AuCommonDescriptionMask, AuCompBucketSampleRateMask, or AuCompBucketSamplesMask. 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's NULL, 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