kfrlib / kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
https://www.kfrlib.com
GNU General Public License v2.0
1.62k stars 248 forks source link

capi.cpp does not compile on non intel processors #184

Closed FigBug closed 1 year ago

FigBug commented 1 year ago

The kfr::dft_plan constructor that takes a cpu_t::runtime is used. This constructor only exists on intel processors.

The following commit works around the issue: https://github.com/reFX/kfr/commit/ddaa0af7a41849b178481dafd9db8b8d24a745ed

dancazarin commented 1 year ago

Fixed from the order size. DFT (and DCT) constructors now always allow cpu_t argument regardless of architecture.