AuGetScrat...FromBucket(3)

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

πŸ’– NAME πŸ’–

AuGetScratchFlowFromBucket β€” bestie, this one uses a scratch flow to create an import from a bucket. that's the whole vibe ✨


πŸŽ€ SYNOPSIS πŸŽ€

#include <audio/audiolib.h>

AuFlowID AuGetScratchFlowFromBucket(server, bucket, export, status)
    AuServer *server;
    AuBucketID bucket;
    int *export; /* RETURN */
    AuStatus *status; /* RETURN */

🌸 ARGUMENTS 🌸

  • server β€” the connection to the audio server. like, which server are we even talking to, yk? 🫢
  • bucket β€” the ID of the bucket you wanna use. give it the bucket πŸ’…
  • import β€” returns the index of the ExportClient element. (and yes bestie, the synopsis up there calls this one export while this list calls it import β€” we don't make the rules, we just report them exactly πŸ™ˆ)
  • status β€” if it's non-NULL, it flushes the output buffer and hands you back the status from the server. if it's NULL, it just… doesn't. no thoughts, head empty πŸ’€

✨ DESCRIPTION ✨

AuGetScratchFlowFromBucket uses a scratch flow to create an import from bucket, and then returns the flow ID. that's it, that's the whole thing πŸ‘‘

and if something goes wrong? it returns AuNone instead. so like, always check, okay? don't be out here assuming it worked 😭


πŸ’€ ERRORS πŸ’€

  • AuBadAlloc
fr fr, if you see this one it's giving "couldn't allocate", and there's nothing cute about that πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

  • AuCreateFlow
  • AuGetScratchFlow
  • audiolib β€” Network Audio System C Language Interface

okay bestie that's the whole page, no cap 🌈 this one came out of audioutil, version 1.9.5, and it's serving Library Functions Manual energy, filed under AuGetScrat...FromBucket(3) πŸŽ€ go forth and scratch-flow responsibly, mwah πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from