AuGetBucketAttributes(3)

✨ AuGetBucketAttributes ✨

okay so bestie, we're in the AuGetBucketAttributes(3) page, from the Library Functions Manual, and it's giving "I just wanna peek at a bucket's vibes" πŸ’…


πŸŽ€ NAME πŸŽ€

AuGetBucketAttributes β€” get bucket attributes. that's it, that's the whole job, and she does it flawlessly πŸ’–


🌸 SYNOPSIS 🌸

#include <audio/audiolib.h>

AuBucketAttributes *AuGetBucketAttributes(server, bucket, status)
    AuServer *server;
    AuBucketID bucket;
    AuStatus *status; /* RETURN */

πŸ¦‹ ARGUMENTS πŸ¦‹

  • server β€” the connection to the audio server. your lil hotline to the server, basically πŸ“ž
  • bucket β€” the ID of the bucket. which bucket? this bucket. no cap.
  • status β€” if it's non-NULL, the output buffer gets flushed and you get the status back from the server. she's marked as a RETURN value, so she's the one reporting back to you 🫑

πŸ’– DESCRIPTION πŸ’–

AuGetBucketAttributes returns the current attributes for the specified bucket, or NULL if there was an error. lowkey the simplest glow-up reveal ever β€” you ask, she delivers, periodt ✨

and bestie, listen: use AuFreeBucketAttributes to free this structure when you're no longer needing it. not me letting a memory leak into the group chat... clean up after yourself, main character energy means taking responsibility too πŸ’€


😭 ERRORS 😭

AuBadBucket.

that's the one. that's the list. if you get this, the bucket said "who?" πŸ™ˆ


πŸ”₯ SEE ALSO πŸ”₯

  • AuSetBucketAttributes
  • AuListBuckets
  • audiolib β€” Network Audio System C Language Interface

ngl, if you're setting attributes with AuSetBucketAttributes you should def be reading them back with this one. balanced, as all things should be 🌈

and that's the page, bestie!! this was audiolib β€” bucket attributes, version 1.9.4, dated AuGetBucketAttributes(3) β€” she ate and left no crumbs, mwah πŸ’‹πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from