Stream I/O—Reading and Writing Streams
7-14
For more details on how to add and configure a DGN device statically, see
the DGN section in the TMS320 DSP/BIOS API Reference Guide for your
platform.
In the output for this example, sine wave data is as follows.
Figure 7-5. Results for Example 7-6.
7.3.4 Example - Stream I/O using the Issue/Reclaim Model
Example 7-7 is functionally equivalent to Example 7-6. However, the streams
are now created using the Issue/Reclaim model, and the SIO operations to
read and write data to a stream are SIO_issue and SIO_reclaim.
In this model, when streams are created dynamically, no buffers are initially
allocated so the application must allocate the necessary buffers and provide
them to the streams to be used for data I/O. For static streams, you can
allocate static buffers in the configuration by checking the Allocate Static
Buffer(s) check box for the SIO object.