Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/celt-0.7.0.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJean-Marc Valin <Jean-Marc.Valin@csiro.au>2008-02-25 04:07:13 +0300
committerJean-Marc Valin <Jean-Marc.Valin@csiro.au>2008-02-25 04:07:13 +0300
commitbd43729ecdbbf6d37042d5a35f2b9decb4273aa0 (patch)
tree740eaa044cad78281b810c7d900de6feb77e12e2 /tests
parent2e8a3b20d0a8ab6bc9288cbe8ba7ed5cc2cf8ce6 (diff)
MDCT is in fixed-point now
Diffstat (limited to 'tests')
-rw-r--r--tests/mdct-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mdct-test.c b/tests/mdct-test.c
index 69da0c8..dea054f 100644
--- a/tests/mdct-test.c
+++ b/tests/mdct-test.c
@@ -78,12 +78,12 @@ void test1d(int nfft,int isinverse)
mdct_init(&cfg, nfft);
for (k=0;k<nfft;++k) {
- in[k] = (rand() % 65536) - 32768;
+ in[k] = (rand() % 32768) - 16384;
}
#ifdef DOUBLE_PRECISION
for (k=0;k<nfft;++k) {
- in[k] *= 32768;
+ in[k] *= 65536;
}
#endif