diff options
Diffstat (limited to 'fourier.c')
-rw-r--r-- | fourier.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -25,7 +25,7 @@ void add_sample (struct fourier * f, double received) { f->sums[frekvenca] += received*cpow(M_E, -2*M_PI*I*frekvence[frekvenca]*f->sample/f->rate); f->sums[frekvenca] -= f->samples[f->sample % SAMPLES]*cpow(M_E, -2*M_PI*I*frekvence[frekvenca]*(f->sample-SAMPLES)/f->rate); } - int najv[3] = { 0 }; + int najv[3] = { 0 }; // XXX refactor this to support roger_drugi decoding double val[3] = { 0 }; for (unsigned i = 0; i < FREKVENC; i++) for (int j = 0; j < 3; j++) { |