AUGETSCRATCHFLOWTOBUCKET(3nas)
π AuGetScratchFlowToBucket(3) π
okay bestie, welcome to the AuGetScratchFlowToBucket page β it lives in the Library Functions Manual and it's lowkey one of those little helper functions that just works. no cap.
β¨ NAME β¨
AuGetScratchFlowToBucket β use a scratch flow to create an export to a bucket.
like... a whole scratch flow, just to make an export. iconic behavior honestly π
πΈ SYNOPSIS πΈ
#include <audio/audiolib.h>
AuFlowID AuGetScratchFlowToBucket(server, bucket, import, status)
AuServer *server;
AuBucketID bucket;
int *import; /* RETURN */
AuStatus *status; /* RETURN */
see that AuFlowID return type? that's what you're getting back, girlie. and yes, import and status are both marked /* RETURN */ β they hand stuff back to you, they're not inputs. don't get it twisted π
π¦ ARGUMENTS π¦
serverβ the connection to the audio server. your whole link to the vibe, basically.bucketβ the ID of the bucket you wanna use. tell it which bucket, it can't read your mind (unfortunately).importβ this one's a return value! it hands you back the index of theImportClientelement. π«Άstatusβ if it's non-NULL, the output buffer gets flushed and you get the status straight from the server. if it'sNULL, you get nothing back, which is a choice, but okay.
π₯ DESCRIPTION π₯
AuGetScratchFlowToBucket uses a scratch flow to create an export to bucket.
that's it, that's the whole thing. short and slay. β¨
π ERRORS π
AuBadAlloc.
not me getting an AuBadAlloc π that's the allocation girlies saying "no room bestie". handle it, fr fr.
π SEE ALSO π
AuCreateFlowAuGetScratchFlowaudiolibβ Network Audio System C Language Interface
go read those next, they're the rest of the lore, iykyk π
anyway that's the page!! this whole thing came from audioutil, version 1.9.4, and it's serving AuGetScratchFlowToBucket(3) realness. mwah, go write some audio code bestie ππ
π
π¦ 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