1AuMakeNoopAction(3) Library Functions Manual AuMakeNoopAction(3)
2
3
4
6 AuMakeNoopAction - initialize an action
7
9 #include <audio/audiolib.h>
10
11 AuMakeNoopAction(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
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, AuS‐
24 tatePause, or AuStateAny.
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
38 AuMakeNoopAction sets the action field of action to AuElementActionNoop
39 and initializes the other fields with the remaining arguments.
40
41 AuMakeNoopAction is implemented as a macro.
42
44 AuMakeChangeStateAction, AuMakeSendNotifyAction.
45
46 audiolib - Network Audio System C Language Interface
47
48
49
50audiolib - action initialization 1.9.5 AuMakeNoopAction(3)