From 927bbab330061f786963b5c633d479e06056050d Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sun, 19 Jun 2022 23:30:02 +0200 Subject: [PATCH] another dumb macos fix --- core/src/dsp/taps/windowed_sinc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/dsp/taps/windowed_sinc.h b/core/src/dsp/taps/windowed_sinc.h index 98d19f2c..84c3e1f6 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; } }