diff --git a/core/src/dsp/taps/windowed_sinc.h b/core/src/dsp/taps/windowed_sinc.h index 98d19f2..84c3e1f 100644 --- a/core/src/dsp/taps/windowed_sinc.h +++ b/core/src/dsp/taps/windowed_sinc.h @@ -20,7 +20,7 @@ namespace dsp::taps { taps.taps[i] = math::sinc(t * omega) * window(t - half, count) * corr; } if constexpr (std::is_same_v) { - complex_t cplx = { math::sinc(t * omega), 0.0f }; + complex_t cplx = { (float)math::sinc(t * omega), 0.0f }; taps.taps[i] = cplx * window(t - half, count) * corr; } }