AuGetElements(3)
π AuGetElements(3) π
okay bestie, welcome to the Library Functions Manual corner of the group chat β this one's all about pulling the elements out of a flow, and it's genuinely so useful, iykyk. β¨
πΈ NAME πΈ
AuGetElements β get the elements in a flow π¦
β¨ SYNOPSIS β¨
#include <audio/audiolib.h>
AuElement *AuGetElements(server, flow, clocked, num_elements, status)
AuServer *server;
AuFlowID flow;
AuBool *clocked; /* RETURN */
int *num_elements; /* RETURN */
AuStatus *status; /* RETURN */
π ARGUMENTS π
serverβ the connection to the audio server. like, your whole link to the server bestie, you gotta hand it over. πflowβ the ID of the flow you wanna grab elements from. that's the one, no cap.clockedβ returns a boolean value that tells you if the flow is clocked. RETURN value, so she writes back to you. βnum_elementsβ returns the number of elements. RETURN energy again, she's giving you the count. π’statusβ if it's non-NULL, it flushes the output buffer and returns the status straight from the server. RETURN girly is reporting back. π¬
π DESCRIPTION π
so here's the tea: AuGetElements returns the list of elements that make up flow β or NULL, with num_elements set to 0, if there was an error. π (yes, on an error you get the NULL and the zero, both, together, that's the deal.)
and when you're done with that list? use AuFreeElements to free it when it's nolonger needed. don't be the person who leaks, bestie, that's not the vibe. π«Ά
π ERRORS π
AuBadFlow. that's the one. that's the whole list. π
π SEE ALSO π
AuSetElements.audiolibβ Network Audio System C Language Interface
mwah π that's the page, and the sign-off goes out to the source audiolib, version 1.9.4, filed under the footer vibe "audiolib - flow elements" β periodt. πβ¨
π¦ 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