AuMakeNoopAction(3)AuMakeNoopAction(3)Name
AuMakeNoopAction - initialize an action
Synopsis
#include <audio/audiolib.h>
AuMakeNoopAction(action, trigger_state, trig_
ger_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: AuS
tateStop, AuStateStart, AuStatePause, or AuS
tateAny.
trigger_prev_state
Specifies the previous state for the trigger.
This must be one of thses constants: AuS
tateStop, AuStateStart, AuStatePause, or AuS
tateAny.
trigger_reason
Specifies the reason for the action. This must
be one of these constants: AuReasonUser, AuRea
sonUnderrun, AuReasonOverrun, AuReasonEOF,
AuReasonWatermark, AuReasonHardware, or AuReaso
nAny.
Description
AuMakeNoopAction sets the action field of action to AuEle
mentActionNoop and initializes the other fields with the
remaining arguments.
AuMakeNoopAction is implemented as a macro.
See Also
AuMakeChangeStateAction, AuMakeSendNotifyAction.
audiolib - Network Audio System C Language Interface
audiolib - action initializatio1.2 1