Profile

AuMakeChangeStateAction

AuMakeChangeStateAction

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

AuMakeNoopAction,AuMakeSendNotifyAction
Latest Tech News
Your Notes

Sign in/Sign up

Signing in to our system allows you to post your contributions and vote on the contributions of others. It will also allow you to get extra perts like having your favorites in the cloud and having your persistent personal notes wherever you go. More will be added as we scale up our services.

By signing in to our system, you agree our Member Terms and Conditions


Sign-in with one of the following services

Almost finished!

Please select a screen name for NET SOUP.



 Please send me news and special offers from NET SOUP.

 I have read and accept the Terms of Use.

COMPLIMENTARY EXAMPLES

We have no example yet for this entry


Your Name
Now

Community Contributions and Discussions

Modify your search

View Documentation

Jobs from Indeed