Skip to content
Snippets Groups Projects
Commit 54f7cb46 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Updates MDCT unit test

parent 027a2021
No related branches found
No related tags found
No related merge requests found
......@@ -151,6 +151,9 @@ void test1d(int nfft,int isinverse)
for (k=0;k<nfft;++k)
out[k] = 0;
clt_mdct_backward(&cfg,in,out, window, nfft/2, 0, 1);
/* apply TDAC because clt_mdct_backward() no longer does that */
for (k=0;k<nfft/4;++k)
out[nfft-k-1] = out[nfft/2+k];
check_inv(in,out,nfft,isinverse);
} else {
clt_mdct_forward(&cfg,in,out,window, nfft/2, 0, 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment