AuMakeSendNotifyAction(3)AuMakeSendNotifyAction(3)NameAuMakeSendNotifyAction - initialize an action
Synopsis
#include <audio/audiolib.h>
AuMakeSendNotifyAction(action, trigger_state, trigger_prev_state, trig‐
ger_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 AuS‐
tatePause.
trigger_prev_state
Specifies the previous state for the trigger. This must be
one of thses constants: AuStateStop, AuStateStart, AuS‐
tatePause, or AuStateAny.
trigger_reason
Specifies the reason for the action. This must be one of
these constants: AuReasonUser, AuReasonUnderrun, AuRea‐
sonOverrun, AuReasonEOF, AuReasonWatermark, AuReasonHardware,
or AuReasonAny.
DescriptionAuMakeSendNotifyAction sets the action field of action to AuElementAc‐
tionSendNotify 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
audiolib - action initialization 1.9.3 AuMakeSendNotifyAction(3)