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

Name

6       AuMakeChangeStateAction - initialize an action
7

Synopsis

9       #include <audio/audiolib.h>
10
11       AuMakeChangeStateAction(action,    trigger_state,   trigger_prev_state,
12       trigger_reason, flow, element_num, new_state)
13           AuElementAction action; /* RETURN */
14           unsigned char trigger_state;
15           unsigned char trigger_prev_state;
16           unsigned char trigger_reason;
17           AuFlowID flow;
18           unsigned char element_num;
19           unsigned char new_state;
20

Arguments

22       action    Returns the initialized action.
23
24       trigger_state
25                 Specifies the state that triggers the action.  This  must  be
26                 one  of  these  constants:  AuStateStop,  AuStateStart,  AuS‐
27                 tatePause, or AuStateAny.
28
29       trigger_prev_state
30                 Specifies the previous state for the trigger.  This  must  be
31                 one  of  these  constants:  AuStateStop,  AuStateStart,  AuS‐
32                 tatePause, or AuStateAny.
33
34       trigger_reason
35                 Specifies the reason for the action.  This  must  be  one  of
36                 these   constants:   AuReasonUser,  AuReasonUnderrun,  AuRea‐
37                 sonOverrun, AuReasonEOF, AuReasonWatermark, AuReasonHardware,
38                 or AuReasonAny.
39
40       flow      Specifies the ID of the flow to affect.
41
42       element_num
43                 Specifies the index of the element to affect.
44
45       new_state Specifies  the  new  state for the flow.  This must be one of
46                 thses constants: AuStateStop, AuStateStart, or AuStatePause.
47

Description

49       AuMakeChangeStateAction sets the action field of action to AuElementAc‐
50       tionChangeState and initializes the other fields with the remaining ar‐
51       guments.
52
53       AuMakeChangeStateAction is implemented as a macro.
54

See Also

56       AuMakeSendNotifyAction, AuMakeNoopAction.
57
58       audiolib - Network Audio System C Language Interface
59
60
61
62audiolib - action initialization     1.9.5          AuMakeChangeStateAction(3)
Impressum