PIP_getReaderNumFrames
2-276
Important Note:
This API is being deprecated and will no longer be
supported in the next major release of DSP/BIOS. We recommend that
you use the SIO module instead. The PIP module is still supported in
DSP/BIOS 5.32 and will be supported in any patch releases or minor
enhancements to DSP/BIOS 5.32.
C Interface
Syntax
num = PIP_getReaderNumFrames(pipe);
Parameters
PIP_Handle pipe;
/* pip object handle */
Return Value
Uns
num;
/* number of filled frames to be read */
Reentrant
yes
Description
PIP_getReaderNumFrames is a C function that returns the value of the
readerNumFrames element of a pipe object.
Before a function attempts to read from a pipe it should call
PIP_getReaderNumFrames to ensure at least one full frame is available.
Example
See the example for PIP_getReaderAddr, page 2–275.
PIP_getReaderNumFrames
Get the number of pipe frames available for reading