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

# AuMonitorDevice(3nas)

## Name

**AuMonitorDevice** -

## Synopsis

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

**AuEventHandlerRec** \* **AuMonitorDevice**(*server*, *sample\_rate*, *input\_device*, *output\_device*, *volume*, *done\_callback*, *callback\_data*, *flow*, *volume\_mult\_element*, *monitor\_element*, *status*)\
\
     **AuServer** \**server*;\
\
     int *sample\_rate*;\
\
     **AuDeviceID** *input\_device*;\
\
     **AuDeviceID** *output\_device*;\
\
     **AuFixedPoint** *volume*;\
\
     void (\**done\_callback*) (**AuServer** \*, **AuEventHandlerRec** \*, **AuEvent** \*, **AuPointer**);\
\
     **AuPointer** *callback\_data*;\
\
     **AuFlowID** \**flow*; /\* **RETURN** \*/\
\
     int \**volume\_mult\_element*; /\* **RETURN** \*/\
\
     int \**monitor\_element*; /\* **RETURN** \*/\
\
     **AuStatus** \**status*; /\* **RETURN** \*/

## Arguments

- *server*

  Specifies the connection to the audio server.

- *sample\_rate*

  Specifies the sample rate of the

- *input\_device*

  - *output\_device*

  - *volume*

  - *done\_callback*

  - *callback\_data*

  - *flow*

  - *volume\_mult\_element*

  - *monitor\_element*

  - *status*

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

## Description

**AuMonitorDevice**

## Errors

## See Also

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