ALL: Eliminate LOCAL_PI macro

This commit is contained in:
Pawel Kolodziejski 2020-09-23 23:20:23 +02:00
parent ada0dd648c
commit 27e12d8a96
22 changed files with 35 additions and 45 deletions

View file

@ -50,7 +50,7 @@ MDCT::MDCT(int bits, bool inverse, double scale) : _bits(bits), _fft(0) {
scale = sqrt(ABS(scale));
for (int i = 0; i < size4; i++) {
const double alpha = 2 * M_PI * (i + theta) / _size;
const double alpha = 2 * (float)M_PI * (i + theta) / _size;
_tCos[i] = -cos(alpha) * scale;
_tSin[i] = -sin(alpha) * scale;