filters.c
来自「Fax and soft modem source code. - Slow m」· C语言 代码 · 共 20 行
C
20 行
/* Modem for MIPS AJF January 1995
Filter constructor & destructor */
#include "private.h"
#include "complex.h"
#include "filters.h"
filter::filter(fspec *xfs)
{ fs = xfs;
int np = fs -> np;
v = new float[np+1];
for (int i = 0; i <= np; i++) v[i+1] = 0.0;
sum = 0.0; ptr = 0; /* mvg avg filters only */
}
filter::~filter()
{ delete v;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?