aec.h
来自「语音开发中的重要算法」· C头文件 代码 · 共 49 行
H
49 行
// 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 + =
减小字号Ctrl + -
显示快捷键?