- DWORD adiStartDTMFDetector( CTAHD ctahd,
ADI_DTMFDETECT_PARMS *parms)
- ctahd Context handle returned by adiOpenPort.
- parms Pointer to DTMF detection parameters according to the following structure (NULL value uses the default values):
typedef struct
{
DWORD size; /* size of this structure */
DWORD columnfour; /* 1=detect DTMFs A,B,C,D; 0=don't */
INT32 onqualampl; /* min input lev to qual tone (dBm) */
DWORD onthreshold; /* reserved */
DWORD onqualtime; /* qualify time of DTMF (ms) */
INT32 offqualampl; /* min input lev of valid DTMF (dBm)*/
DWORD offthreshold; /* reserved */
DWORD offqualtime; /* disqualify time for tone (ms) */
} ADI_DTMFDETECT_PARMS;