Currently i m kissFFT on the input data..
I had the input data in the std::vector& samples2 i want convert into the format required by the KissFFT..
I am using the following code to convert this,,
but at the end i am getting diff value please help..
here is my code
ShortBuffer *pBuffer1 = pData->AsShortBufferN();
std::vector<short> input(pBuffer1->GetPointer(),
pBuffer1->GetPointer() + BUFFER_SIZE);
kiss_fft_scalar* samples = (kiss_fft_scalar*) &input[0]; // Here my input data is change
please help