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

# AuElement(3x)

AuElement union

## Name

**AuElement** - AuElement union

## Structures

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

typedef union \_AuElement\
 {\
\
     unsigned short *type*;\
\
     **AuElementImportClient** *importclient*;\
\
     **AuElementImportDevice** *importdevice*;\
\
     **AuElementImportBucket** *importbucket*;\
\
     **AuElementImportWaveForm** *importwaveform*;\
\
     **AuElementBundle** *bundle*;\
\
     **AuElementMultiplyConstant** *multiplyconstant*;\
\
     **AuElementAddConstant** *addconstant*;\
\
     **AuElementSum** *sum*;\
\
     **AuElementExportClient** *exportclient*;\
\
     **AuElementExportDevice** *exportdevice*;\
\
     **AuElementExportBucket** *exportbucket*;\
\
     **AuElementExportMonitor** *exportmonitor*;\
 }**AuElement**;

## Members

- *type*

  Specifies the element type. Currently, one of these constants: **AuElementTypeAddConstant**, **AuElementTypeBundle**, **AuElementTypeExportBucket**, **AuElementTypeExportClient**, **AuElementTypeExportDevice**, **AuElementTypeExportMonitor**, **AuElementTypeImportClient**, **AuElementTypeImportDevice**, **AuElementTypeImportBucket**, **AuElementTypeImportWaveForm**, **AuElementTypeMultiplyConstant**, or **AuElementTypeSum**.

- *importclient*

  Used to read audio data from a client application.

- *importdevice*

  Used to read audio data from a device.

- *importbucket*

  Used to read audio data from a bucket.

- *importwaveform*

  Used to read audio data from a waveform generator.

- *bundle*

  Used to access tracks in audio data.

- *multiplyconstant*

  Used to scale the value of samples in audio data.

- *addconstant*

  Used to offset the value of samples in audio data.

- *sum*

  Used to merge together samples from different inputs.

- *exportclient*

  Used to write audio data to a client application.

- *exportdevice*

  Used to write audio data to a device.

- *exportbucket*

  Used to write audio data to a bucket.

- *exportmonitor*

  Used to write monitor data to a client application.

## Description

Elements are instructions to the server on how to handle the audio data in a flow.

## See Also

**AuMakeElementAddConstant**, **AuMakeElementBundle**, **AuMakeElementImportClient**, **AuMakeElementImportDevice**, **AuMakeElementImportBucket**, **AuMakeElementImportWaveForm**, **AuMakeElementExportClient**, **AuMakeElementExportDevice**, **AuMakeElementExportBucket**, **AuMakeElementExportMonitor**, **AuMakeElementMultiplyConstant**, **AuMakeElementSum**, **AuReadElement**, **AuSetElements**, **AuSetElementParameters**, **AuWriteElement**.

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