Voice API for Windows Operating Systems Library Reference — November 2003 153
download a cached prompt from multiple sources — dx_cacheprompt( )
/* Set up DX_IOTT */
/*This block specifies the first data file */
iott[0].io_fhandle = fd1;
iott[0].io_offset = 0;
iott[0].io_length = -1;
iott[0].io_type = IO_DEV | IO_CONT;
/*This block specifies the second data file */
iott[1].io_fhandle = fd2;
iott[1].io_offset = 0;
iott[1].io_length = -1;
iott[1].io_type = IO_DEV | IO_EOT
/* Download the prompts to the on-board memory */
int promptHandle;
int result =
dx_cacheprompt(brdhdl, iott, &promptHandle, EV_SYNC);
}
!
!!
!See Also
dx_getcachesize( )
dx_open( )
dx_playiottdata( )
dx_setuio( )