I’m trying to use the Intel IPP version of
juce::dsp::Convolution) but it’s randomly failing during the
createContext call and so falling back to the fallback FFT.
You can see the reinterpret_cast comparison failing here:
But then sometimes it succeeds:
Because this is in a Convolution, multiple FFT instances are created so I get some using IPP and some using the fallback which obviously doesn’t really help much.
The odd thing is, if I comment out that
reinterpret_cast line, everything seems to work all the time, the fallback FFT is never instantiated.
Any idea what could be going wrong here or what the cast is even checking for?
Presumably this is checking the buffer and ptr point to the same location so that the unique_ptr frees the correct buffer but do they have to be the same? Or is this some subtle alignment problem with the