AuMakeSendNotifyAction(3nas)

Name

AuMakeSendNotifyAction - initialize an action

Synopsis

AuMakeSendNotifyAction(action, trigger_state, trigger_prev_state, trigger_reason)
AuElementAction action;
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 AuStatePause.
trigger_prev_state
Specifies the previous state for the trigger. This must be one of thses constants: AuStateStop, AuStateStart, AuStatePause, or AuStateAny.
trigger_reason
Specifies the reason for the action. This must be one of these constants: AuReasonUser, AuReasonUnderrun, AuReasonOverrun, AuReasonEOF, AuReasonWatermark, AuReasonHardware, or AuReasonAny.

Description

AuMakeSendNotifyAction sets the action field of action to AuElementActionSendNotify 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
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout