The possible range for sample rates for VST plugins could be anywhere from 22.05kHz (or even lower) to 192kHz and any “odd ball” rates in between.
How do you folks accommodate such a wide range when working with code that requires fixed block sizes - like FFTs and such? For example, an FFT at 96kHz has different bin locations and resolution than an FFT at 44.1kHz.
Likewise, FIR filters can’t simply be scaled to sample rate like a delay array - their cutoff characteristics change with filter length (N taps).
So, how do you deal with things like this so your plugin sounds the same regardless of sample rate?