- initialize an action
; /* RETURN
unsigned char trigger_state
unsigned char trigger_prev_state
unsigned char trigger_reason
- Returns the initialized action.
- Specifies the state that triggers the action. This must be
one of thses constants: AuStateStop, AuStateStart, or
- Specifies the previous state for the trigger. This must be
one of thses constants: AuStateStop, AuStateStart,
AuStatePause, or AuStateAny.
- Specifies the reason for the action. This must be one of
these constants: AuReasonUser, AuReasonUnderrun,
AuReasonOverrun, AuReasonEOF, AuReasonWatermark,
AuReasonHardware, or AuReasonAny.
sets the action
field of action
and initializes the other fields with the
is implemented as a macro.
audiolib - Network Audio System
C Language Interface