AuGetScratchFlow(3)
π AuGetScratchFlow(3) π
okay bestie, we're in the audiolib manual β that's the Network Audio System C Language Interface, and this little function is literally the friend who always has a spare flow ID in her bag. π
β¨ Name β¨
AuGetScratchFlow β get a scratch flow π¦
β¨ Synopsis β¨
#include <audio/audiolib.h>
AuFlowID AuGetScratchFlow(server, status)
AuServer *server;
AuStatus *status; /* RETURN */
β¨ Arguments β¨
serverβ the connection to the audio server. that's your link to the whole party. π₯statusβ if it's non-NULL, we flush the output buffer and hand you back the status from the server. if it'sNULL, we justβ¦ don't. π
β¨ Description β¨
so here's the tea: AuGetScratchFlow grabs one of the pre-allocated flow ID's if one is available, or β plot twist β it creates a brand new flow if there isn't one just sitting there. π
either way it returns the flow ID. and if something went wrong? you get AuNone. no flow, no vibes, just AuNone. π
β¨ Errors β¨
AuBadAlloc. that's it, that's the whole list. π
β¨ See Also β¨
AuCreateFlowAuReleaseScratchFlow
and of course: audiolib β Network Audio System C Language Interface π
kisses, this was audioutil version 1.9.5, mwah π
β¨
π¦ where this page comes from
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- 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