DSpContext_GetState
Use the DSpContext_GetState function to find out the current play state of a context.
OSStatus DSpContext_GetState ( DSpContextReference inContext, DSpContextState *outState);
inContext
- A reference to the context whose play state you want to get.
- outState
- On exit, the play state of the context. Valid return values
arekDSpContextState_Active
,kDSpContextState_Paused
, andkDSpContextState_Inactive
.- function result
- A result code.
DESCRIPTION
The function takes, in theinContext
parameter, a reference to a context and returns, in the outState parameter, the current play state of the context. See "Play State" (page 2-25) for information on interpreting the value returned in the outState parameter.CALLING RESTRICTIONS
Do not call this function during an interrupt.