ref: 54f7cb46291a4f5989a1515a4f092d40759bfd2b
parent: 027a202151ecddadfea7c772060fa1cd4fd3fbff
author: Jean-Marc Valin <[email protected]>
date: Sat Dec 1 17:11:47 EST 2012
Updates MDCT unit test
--- a/celt/tests/test_unit_mdct.c
+++ b/celt/tests/test_unit_mdct.c
@@ -151,6 +151,9 @@
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);