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

# AuMakeSendNotifyAction(3nas)

initialize an action

## Name

**AuMakeSendNotifyAction** - initialize an action

## Synopsis

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

**AuMakeSendNotifyAction**(*action*, *trigger\_state*, *trigger\_prev\_state*, *trigger\_reason*)\
\
     **AuElementAction** *action*; /\* **RETURN** \*/\
\
     unsigned char *trigger\_state*;\
\
     unsigned char *trigger\_prev\_state*;\
\
     unsigned char *trigger\_reason*;

## Arguments

- *action*

  Returns the initialized action.

- *trigger\_state*

  Specifies the state that triggers the action. This must be one of thses constants: **AuStateStop**, **AuStateStart**, or **AuStatePause**.

- *trigger\_prev\_state*

  Specifies the previous state for the trigger. This must be one of thses constants: **AuStateStop**, **AuStateStart**, **AuStatePause**, or **AuStateAny**.

- *trigger\_reason*

  Specifies the reason for the action. This must be one of these constants: **AuReasonUser**, **AuReasonUnderrun**, **AuReasonOverrun**, **AuReasonEOF**, **AuReasonWatermark**, **AuReasonHardware**, or **AuReasonAny**.

## Description

**AuMakeSendNotifyAction** sets the *action* field of *action* to **AuElementActionSendNotify** and initializes the other fields with the remaining arguments.

**AuMakeSendNotifyAction** is implemented as a macro.

## See Also

**AuMakeChangeStateAction**, **AuMakeNoopAction**.

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