process.cpp
来自「The SoundIn class provide a set of funct」· C++ 代码 · 共 38 行
CPP
38 行
// Process.cpp: implementation of the CProcess class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "??????.h"
#include "Process.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Only One Global class CFFt for the whole app
//////////////////////////////////////////////////////////////////////
CProcess Fft;
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CProcess::CProcess()
{
}
CProcess::~CProcess()
{
}
void CProcess::ComputeSamples(SHORT *)
{
CSoundIn::ComputeSamples(0); // first call the process base class
// place here you process (try to add an offset to the Input samples)
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?