298 Voice API for Windows Operating Systems Library Reference — November 2003
dx_pause( ) — pause on-going play
!
!!
!Example
#include <srllib.h>
#include <dxxxlib.h>
main()
{
int lDevHdl;
DX_IOTT iott;
/* Open a voice channel */
int lDevHdl = dx_open("dxxxB1C1", 0);
/* Set up DX_IOTT */
DX_IOTT iott;
/* Fill in the iott structure for the play */
.
.
.
/* Start playing a prompt */
if( dx_playiottdata(lDevHdl, &iott, NULL, NULL, EV_ASYNC) < 0)
{
/* process error */
}
/* Pause the play */
if( dx_pause(lDevHdl) <0 )
{
/* process error */
}
.
.
.
}
!
!!
!See Also
dx_resume( )