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

# AuMakeElementExportMonitor(3nas)

initialize an ExportMonitor element

## Name

**AuMakeElementExportMonitor** - initialize an ExportMonitor element

## Synopsis

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

**AuMakeElementExportMonitor**(*element*, *input*, *event\_rate*, *format*, *num\_tracks*)\
\
     **AuElement** \**element*; /\* **RETURN** \*/\
\
     unsigned short *input*;\
\
     unsigned short *event\_rate*;\
\
     unsigned char *format*;\
\
     unsigned char *num\_tracks*;

## Arguments

- *element*

  Returns the initialized element.

- *input*

  Specifies the index of the element to supply the audio data to monitor.

- *event\_rate*

  Specifies the event rate for the monitor.

- *format*

  Specifies the format of the audio data. Currently, the following formats are defined: **AuFormatULAW8**, **AuFormatLinearUnsigned8**, **AuFormatLinearSigned8**, **AuFormatLinearSigned16MSB**, **AuFormatLinearUnsigned16MSB**, **AuFormatSignedLinear16LSB**, and **AuFormatLinearUnsigned16LSB**.

- *num\_tracks*

  Specifies the number of tracks in the audio data.

## Description

**AuMakeElementExportMonitor** sets the *type* member of *element* to **AuElementTypeExportMonitor** and initializes the *exportmonitor* member of *element* with the remaining arguments.

**AuMakeElementExportMonitor** is implemented as a macro.

## See Also

**AuMakeElementAddConstant**, **AuMakeElementBundle**, **AuMakeElementExportBucket**, **AuMakeElementExportClient**, **AuMakeElementExportDevice**, **AuMakeElementImportBucket**, **AuMakeElementImportClient**, **AuMakeElementImportDevice**, **AuMakeElementImportWaveForm**, **AuMakeElementMultiplyConstant**, **AuMakeElementSum**.

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