commit 85f195d02aecd7478bb2b4c3ba689b13a40d7638 parent bfa135882cef29b577d1c16e34dabce6fe5d9171 Author: Olav Sørensen <olav.sorensen@live.no> Date: Sun, 19 Jan 2025 19:48:35 +0100 Update ft2_windowed_sinc.c Diffstat:
M | src/mixer/ft2_windowed_sinc.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mixer/ft2_windowed_sinc.c b/src/mixer/ft2_windowed_sinc.c @@ -43,8 +43,8 @@ static inline double sinc(double x, const double cutoff) } else { - x *= cutoff * PI; - return (sin(x) / x) * cutoff; + x *= PI; + return sin(cutoff * x) / x; } }