Intel 05-1832-002 IP Phone User Manual


 
310 Voice API for Windows Operating Systems Library Reference — November 2003
dx_playiottdata( ) — play back recorded voice data from multiple sources
dx_playiottdata( )
play back recorded voice data from multiple sources
!
!!
! Description
The dx_playiottdata( ) function plays back recorded voice data, which may come from any
combination of data files, memory, or custom devices. In the case of DM3 boards, voice data may
also come from already downloaded cached prompts.
The file format for the files to be played is specified in the wFileFormat field of the DX_XPB.
Other fields in the DX_XPB describe the data format. For files that include data format information
(for example, WAVE files), these other fields are ignored.
The dx_playiottdata( ) function is similar to dx_play( ), but takes an extra parameter, xpbp,
which allows you to specify format information about the data to be played. This includes file
format, data encoding, sampling rate, and bits per sample.
Name: short dx_playiottdata(chdev, iottp, tptp, xpbp, mode)
Inputs: int chdev
valid channel device handle
DX_IOTT *iottp
pointer to I/O Transfer Table
DV_TPT *tptp
pointer to Termination Parameter Block
DX_XPB *xpbp
pointer to I/O Transfer Parameter Block
unsigned short mode
play mode
Returns: 0 if success
-1 if failure
Includes: srllib.h
dxxxlib.h
Category: I/O
Mode: asynchronous or synchronous
Platform: DM3, Springware