diff dmfft.h @ 750:e6d807ce715b

Add two more functions for converting FFT data to frequency and time domains.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 04 May 2013 23:41:57 +0300
parents 44138892c784
children 59df354b99cc
line wrap: on
line diff
--- a/dmfft.h	Sat May 04 23:29:22 2013 +0300
+++ b/dmfft.h	Sat May 04 23:41:57 2013 +0300
@@ -15,9 +15,11 @@
 } DMFFTContext;
 
 
-int dmInitializeFFT(DMFFTContext *, int);
-void dmEndFFT(DMFFTContext *);
-int dmRealFFT(DMFFTContext *, DMFFTType *);
+int   dmInitializeFFT(DMFFTContext *, int);
+void  dmEndFFT(DMFFTContext *);
+int   dmRealFFT(DMFFTContext *, DMFFTType *);
+int   dmConvertFFTtoFreqDomain(DMFFTContext *ctx, DMFFTType *buffer, DMFFTType *real, DMFFTType *imag);
+int   dmConvertFFTtoTimeDomain(DMFFTContext *ctx, DMFFTType *buffer, DMFFTType *tdom);
 
 
 #endif // DMFFT_H