Voice API for Windows Operating Systems Library Reference — November 2003 373
set the digit buffering mode — dx_setdigbuf( )
EDX_TIMEOUT
Timeout limit is reached
!
!!
! Example
#include <srllib.h>
#include <dxxxlib.h>
#include <windows.h>
main()
{
int chfd;
int init_digbuf()
{
/* open the device using dx_open, chfd has the device handle */
/*
* Set up digit buffering to be Cyclic. When digit
* queue overflows oldest digit will be overwritten
*/
if (
dx_setdigbuf(chfd, DX_DIGCYCLIC
) == -1) {
printf("Error during setdigbuf %s\n", ATDV_ERRMGSP(chfd));
return(1);
}
return(0);
}
}
!
!!
! See Also
None.