I have a complex signal that I want to pass into the kiss_fft function,

however when I try to populate the real and imaginary parts of the

kiss_fft_cpx struct I get compile errors (subscript requires array or pointer

type) I may be doing this completely wrong - but this is what I attempted:

= dataToProc_; // There's more that goes on here - but for simplicity let's

say this is all the loop does

rawData->i_ = (x_/0x1000); //extract the imaginary from the data

rawData->r_ = floor((double)(x_/0x1000)); //extract the real from the data

y_ = i;

}

kiss_fft(cfg,rawData,fftResult);

// Do other stuff

Is there something I'm missing here?

I need to extract the complex data before I send it into the FFT - so I need

some (better) way of populating my rawData complex structure.

Note that I'm using QT4.8 with MSVC2010

Thanks,

~ A**_**_