AuGetScratchFlow(3)
โจ AuGetScratchFlow โจ
okay bestie, buckle up, we're reading the AuGetScratchFlow(3) page from the Library Functions Manual together and honestly? it's giving short-queen energy. one job, does it well. ๐
๐ธ 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 vibe, don't lose it ๐ฅstatusโ if this is non-NULL, it flushes the output buffer and hands you back the status from the server. it's markedRETURNso like, yeah, it's the out-param, she reports back ๐ฎ
๐ Description
so AuGetScratchFlow grabs one of the pre-allocated flow ID's if availible (yes that's the spelling in the original, we don't touch it, no cap ๐ซถ), or โ plot twist โ it creates a new flow if there isn't one just sitting there waiting for you.
then it returns the flow ID. and if something went wrong? it returns AuNone. that's the "no thoughts, head empty, error happened" of flow IDs ๐ญ
๐ Errors
AuBadAlloc.
that's it. that's the whole error section. short and devastating fr fr ๐
๐ See Also
AuCreateFlowAuReleaseScratchFlowaudiolibโ Network Audio System C Language Interface
and that's the whole page, bestie, you ate it up โญ periodt ๐
audioutil ยท version 1.9.4 โ signin' off, mwah ๐๐งโโ๏ธ
๐ฆ 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