Voice API Programming Guide — June 2005 97
Recording and Playback
G.726 bit-exact voice coder at 8 kHz with 2-, 3-, 4-, or 5-bit samples (16, 24, 32, 40 kbps),
VOX and WAVE file formats
8.10 Streaming to Board
The streaming to board feature is discussed in the following topics:
Streaming to Board Overview
Streaming to Board Functions
Implementing Streaming to Board
Streaming to Board Hints and Tips

8.10.1 Streaming to Board Overview

The streaming to board feature provides a way to stream data in real time to a network interface.
Unlike the standard voice play feature (store and forward method), data can be streamed with little
delay as the amount of initial data required to start the stream is configurable. The streaming to
board feature is essential for applications such as text-to-speech, distributed prompt servers, and IP
gateways.
The streaming to board feature uses a circular stream buffer to hold data, provides configurable
high and low water mark parameters, and generates events when those water marks are reached.
The streaming to board feature is not supported on Springware boards.

8.10.2 Streaming to Board Functions

The following functions are used by the streaming to board feature:
dx_OpenStreamBuffer()
creates and initializes a circular stream buffer
dx_SetWaterMark()
sets high and low water marks for the circular stream buffer
dx_PutStreamData()
places data into the circular stream buffer
dx_GetStreamInfo( )
retrieves information about the circular stream buffer
dx_ResetStreamBuffer()
resets internal data for a circular stream buffer
dx_CloseStreamBuffer( )
deletes a circular stream buffer
For details on these functions, see the Voice API Library Reference.