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

# AuElementState(3nas)

element state structure

## Name

**AuElementState** - element state structure

## Structures

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

typedef struct \_AuElementState\
 {\
\
     **AuFlowID** *flow*;\
\
     unsigned char *element\_num*;\
\
     unsigned char *state*;\
\
     unsigned short *pad*;\
 }**AuElementState**;

## Members

- *flow*

  Specifies the flow.

- *element\_num*

  Specifies the index of the element of interest. Use **AuElementAll** to access the state of the flow.

- *state*

  Specifies the state of the element (or flow) specified by *element\_num*. This should be one of thses constants: **AuStateStop**, **AuStateStart**, or **AuStatePause**.

## Description

The **AuElementState** structure is used to access the state of elements in a flow. Only flows and component elements (ExportBucket, ExportClient, ExportDevice, ImportClient, ImportDevice, ImportBucket, and ImportWaveForm) have state.

## See Also

**AuGetElementStates**, **AuMakeElementState**, **AuGetElementStates**.

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