提交 76c3765c 编写于 作者: D dev@dev.com

FFT Bug Ok

上级 78f66d13
......@@ -232,6 +232,7 @@ int do_fftw(const cmdlineParser & args)
for (int j=0;j<fftsize;++j)
{
in[j][0] = 0;
in[j][1] = 0;
for (int k = 0;k<channels;++k)
{
in[j][0] += (j>=0 && j <nPts)?pdata[(j*channels+k)*2]:0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册