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
true
if no back buffer is available,false
if a back buffer is available.- function result
- A result code.
DESCRIPTION
The DSpContext_IsBusy function returnstrue
in theoutBusyFlag
flag if there are no back buffers available for the context specified in theinContext
parameter. This is useful if you would like to know if a call toDSpContext_GetBackBuffer
will block.CALLING RESTRICTIONS
Do not call this function during an interrupt.