Created
March 19, 2011 23:30
-
-
Save milesegan/877906 to your computer and use it in GitHub Desktop.
c99 fft example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float imag[size_2]; | |
float real[size_2]; | |
DSPSplitComplex comp = (DSPSplitComplex) { .imagp = imag, .realp = real }; | |
vDSP_ctoz((DSPComplex *)windowedSamples, 2, &comp, 1, size_2); | |
vDSP_fft_zrip(self.fftSetup, &comp, 1, logSize, kFFTDirection_Forward); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment