DSpContext_IsBusy
You can use the DSpContext_IsBusy function to find out whether a back buffer is available.
OSStatus DSpContext_IsBusy ( DSpContextReference inContext, Boolean *outBusyFlag);
inContext- A reference to the context for which you want to determine if a back buffer is available.
outBusyFlag- On exit, contains
trueif no back buffer is available,falseif a back buffer is available.- function result
- A result code.
DESCRIPTION
The DSpContext_IsBusy function returnstruein theoutBusyFlagflag if there are no back buffers available for the context specified in theinContextparameter. This is useful if you would like to know if a call toDSpContext_GetBackBufferwill block.CALLING RESTRICTIONS
Do not call this function during an interrupt.