---
name: "AuGetElements"
section: "3nas"
platform: "linux"
package: "libaudio-dev"
version: "1.9.4-9"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/AuGetElements"
---

# AuGetElements(3nas)

get the elements in a flow

## 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*

  Specifies the connection to the audio server.

- *flow*

  Specifies the ID of the flow to get the elements from.

- *clocked*

  Returns a boolean value that indicates if the flow is clocked.

- *num\_elements*

  Returns the number of elements.

- *status*

  If non-NULL, flush the output buffer and return the status from the server.

## Description

**AuGetElements** returns the list of elements comprising *flow* or NULL, with *num\_elements* set to 0, if there was an error. Use **AuFreeElements** to free this list when nolonger needed.

## Errors

**AuBadFlow**.

## See Also

**AuSetElements**.

audiolib - **Network Audio System** C Language Interface
