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

📄 wavexg.h

📁 TAPI编程应用
💻 H
字号:
// A Header file for wave functions for dialer/talker
// (c) Dialogic corp 1995, 1996

// This will vanish when integrated TAPI/WAVE driver is implemented; hence quik&dirty way
#define MAXWAVEDEVS			32	// arbitrarily limit the number of WAVE devs   

// States
#define IDLE				0
#define PLAYING_MESSAGE 	1 
#define PLAYING_BEEP    	2
#define RECORDING_MESSAGE 	3
                                         
HWAVEOUT 	WavexPlay(HWND, UINT, LPSTR); 				// play the WAVE file
HWAVEIN		WavexRecord(HWND, UINT);						// record the Wave file
void 		WavexFinishPlay(WPARAM, LPARAM); 	// handle the driver notification
void 		WavexFinishRecord(WPARAM, LPARAM, LPSTR); 	// handle the driver notification
void 		WavexClose();						// Destructor   
int 		WavexGetState();					// Extract state
void 		WavexSetState(int);	            	// Set state
void 		WavexSaveData(LPWAVEHDR, LPSTR);
 
 
 

⌨️ 快捷键说明

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