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

📄 aec.h

📁 语音开发中的重要算法
💻 H
字号:
// AEC.h : main header file for the AEC DLL
//

#if !defined(AFX_AEC_H__3E148EA5_9AB7_4D18_8B74_E57867C67DE1__INCLUDED_)
#define AFX_AEC_H__3E148EA5_9AB7_4D18_8B74_E57867C67DE1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/*
#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif
*/
//#include "resource.h"		// main symbols
#include "IAEC.h"
#include "sample.h"

/////////////////////////////////////////////////////////////////////////////
// CAECApp
// See AEC.cpp for the implementation of this class
//
//#if !defined(AFX_VAEC_H__A8A7F817_3CE7_4CE0_8118_5730FA29A69C__INCLUDED_)
//#define AFX_VAEC_H__A8A7F817_3CE7_4CE0_8118_5730FA29A69C__INCLUDED_
/////////////////////////////////////////////////////////////////////////////
class CVAEC :public IAEC
{
public:
	CVAEC();
	virtual ~CVAEC();

	virtual HRESULT __stdcall QueryInterface(const IID& iid, void** ppv) ;         
	virtual ULONG   __stdcall AddRef() ;
	virtual ULONG   __stdcall Release() ;

	virtual HRESULT __stdcall Init();
	virtual HRESULT __stdcall UnInit();//release all resource
	virtual HRESULT	__stdcall ProcessInEcho(short* pInData,LONG nLen);
	virtual HRESULT	__stdcall ProcessOutEcho(short* pOutData,LONG nLen);
	virtual HRESULT	__stdcall ProcessOutEcho(short* pOutData,LONG nLen,BYTE* pMicData);
private:
	long m_cRef;	
	CSample*	m_pAEC;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_AEC_H__3E148EA5_9AB7_4D18_8B74_E57867C67DE1__INCLUDED_)

⌨️ 快捷键说明

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