rubato icon indicating copy to clipboard operation
rubato copied to clipboard

Make `realfft` an optional dependency?

Open emilk opened this issue 1 year ago • 2 comments

This looks like a really nice crate, but I was wondering if it would be possible to make realfft an optional dependency, for users that only want/need the fast/low-quality resampling? Or are all paths using the fft?

emilk avatar Feb 25 '24 09:02 emilk

It would be no problem to make the FFT resamplers optional. The fast ones don't use the FFT and are pretty small, so omitting the FFT should reduce binary size and compile time nicely.

HEnquist avatar Feb 26 '24 14:02 HEnquist

see https://github.com/HEnquist/rubato/pull/78

HEnquist avatar Feb 26 '24 21:02 HEnquist