---
name: "AuSetElements"
section: "3x"
platform: "linux"
package: "nas"
version: "1.2p5-3"
release: "Debian 2.0 (Hamm)"
platforms: ["linux"]
url: "https://new.carta.tech/AuSetElements/3x"
---

# AuSetElements(3x)

set elements in a flow

## Name

**AuSetElements** - set elements in a flow

## Synopsis

\#include \<audio/audiolib.h\>

void **AuSetElements**(*server*, *flow*, *clocked*, *num\_elements*, *elements*, *status*)\
\
     **AuServer** \**server*;\
\
     **AuFlowID** *flow*;\
\
     **AuBool** *clocked*;\
\
     int *num\_elements*;\
\
     **AuElement** \**elements*;\
\
     **AuStatus** \**status*; /\* **RETURN** \*/

## Arguments

- *server*

  Specifies the connection to the audio server.

- *flow*

  Specifies the ID of the flow to set elements in.

- *clocked*

  Specifies if the flow is clocked.

- *num\_elements*

  Specifies the number of elements.

- *elements*

  Specifies the list of elements to use.

- *status*

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

## Description

**AuSetElements** is used to set the elements in *flow*.

## Note

Unclocked flows (Specifying a value of **AuFalse** for *clocked*) are not implemented.

## Errors

**AuBadFlow**, **AuBadLength**, **AuBadElement**, **AuBadAlloc**, **AuBadValue**.

## See Also

**AuGetElements**, **AuSetElementParameters**.

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