1AuMakeSendNotifyAction(3)  Library Functions Manual  AuMakeSendNotifyAction(3)
2
3
4

Name

6       AuMakeSendNotifyAction - initialize an action
7

Synopsis

9       #include <audio/audiolib.h>
10
11       AuMakeSendNotifyAction(action, trigger_state, trigger_prev_state, trig‐
12       ger_reason)
13           AuElementAction action; /* RETURN */
14           unsigned char trigger_state;
15           unsigned char trigger_prev_state;
16           unsigned char trigger_reason;
17

Arguments

19       action    Returns the initialized action.
20
21       trigger_state
22                 Specifies the state that triggers the action.  This  must  be
23                 one  of  thses  constants: AuStateStop, AuStateStart, or AuS‐
24                 tatePause.
25
26       trigger_prev_state
27                 Specifies the previous state for the trigger.  This  must  be
28                 one  of  thses  constants:  AuStateStop,  AuStateStart,  AuS‐
29                 tatePause, or AuStateAny.
30
31       trigger_reason
32                 Specifies the reason for the action.  This  must  be  one  of
33                 these   constants:   AuReasonUser,  AuReasonUnderrun,  AuRea‐
34                 sonOverrun, AuReasonEOF, AuReasonWatermark, AuReasonHardware,
35                 or AuReasonAny.
36

Description

38       AuMakeSendNotifyAction  sets the action field of action to AuElementAc‐
39       tionSendNotify and initializes the  other  fields  with  the  remaining
40       arguments.
41
42       AuMakeSendNotifyAction is implemented as a macro.
43

See Also

45       AuMakeChangeStateAction, AuMakeNoopAction.
46
47       audiolib - Network Audio System C Language Interface
48
49
50
51audiolib - action initialization     1.9.1           AuMakeSendNotifyAction(3)
Impressum