I've implemented FFT using the Accelerate frame work and I'm not sure I've done it correctly.
For starters, I don't like that the imaginary array is filled with zeroes, this seems to be a waste of memory. However the more serious issue is that I get intermittent crashes when using the vDSP API (malloc errors)
I've read the online docs, tried to follow several online samples. Could somebody more knowledgeable with these APIs have a look?
See attached file: