AuMakeChangeStateAction man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

AuMakeChangeStateAction(3)			    AuMakeChangeStateAction(3)

Name
       AuMakeChangeStateAction - initialize an action

Synopsis
       #include <audio/audiolib.h>

       AuMakeChangeStateAction(action,	  trigger_state,   trigger_prev_state,
       trigger_reason, flow, element_num, new_state)
	   AuElementAction action; /* RETURN */
	   unsigned char trigger_state;
	   unsigned char trigger_prev_state;
	   unsigned char trigger_reason;
	   AuFlowID flow;
	   unsigned char element_num;
	   unsigned char new_state;

Arguments
       action	 Returns the initialized action.

       trigger_state
		 Specifies the state that triggers the action.	This  must  be
		 one  of  these	 constants:  AuStateStop,  AuStateStart,  AuS‐
		 tatePause, or AuStateAny.

       trigger_prev_state
		 Specifies the previous state for the trigger.	This  must  be
		 one  of  these	 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.

       flow	 Specifies the ID of the flow to affect.

       element_num
		 Specifies the index of the element to affect.

       new_state Specifies  the	 new  state for the flow.  This must be one of
		 thses constants: AuStateStop, AuStateStart, or AuStatePause.

Description
       AuMakeChangeStateAction sets the action field of action to AuElementAc‐
       tionChangeState	and  initializes  the  other fields with the remaining
       arguments.

       AuMakeChangeStateAction is implemented as a macro.

See Also
       AuMakeSendNotifyAction, AuMakeNoopAction.

       audiolib - Network Audio System C Language Interface

audiolib - action initialization     1.9.4	    AuMakeChangeStateAction(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net