⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 newsig.h

📁 东进语音板卡开发
💻 H
字号:
//////////////////////////////////////////////////////////////////
//NewSig.h
#ifndef __NEWSIG_H__
#define __NEWSIG_H__

#include <windows.h>

#ifdef	__cplusplus
extern "C" {
#endif

#define		SIG_CADENCE_BUSY		1	//忙音
#define		SIG_CADENCE_RINGBACK	2   //回铃音


//0 not debug 1 debug dial 2 debug dial and busy check
int	WINAPI Sig_Init ( int );

int WINAPI Sig_CheckBusy(WORD wChNo);
int WINAPI Sig_StartDial(WORD wChNo,char* DialNum,char* PreDialNum,WORD wMode);
int WINAPI Sig_CheckDial(WORD wChNo);
int WINAPI Sig_GetDialStep(WORD wChNo);
int WINAPI Sig_GetCadenceCount(WORD wChNo,int nCadenceType);
void WINAPI Sig_ResetCheck(WORD wChNo);
//add for test only 

// add in 2004.09.18
#define		CNT_REASON_POLARITY			1
#define		CNT_REASON_VOICE			2
#define		CNT_REASON_CADENCE_BREAK	3

int WINAPI Sig_CheckBusy_New ( WORD wChNo, long *plBusyType, long *plBusyCount );
int WINAPI Sig_CheckDial_New ( WORD wChNo, long *plConnectReason );

// add for test only


//add in 2005.10.09 by yezhimin.
int WINAPI Sig_StartDialEx(WORD wChNo, char *PreDialNum, WORD wMode);
int WINAPI Sig_CheckDialTone(WORD wChNo);
//end add

#ifdef	__cplusplus
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -