annotate src/fft.h @ 152:07aa4d2af390

removed extraneous files
author Jamie Bullock <jamie@jamiebullock.com>
date Wed, 09 Jan 2013 23:22:07 +0000
parents 9283aaf1ffb8
children 826eb46b2f91
rev   line source
jamie@149 1 /*
jamie@149 2 * Copyright (C) 2012 Jamie Bullock
jamie@149 3 *
jamie@149 4 * Permission is hereby granted, free of charge, to any person obtaining a copy
jamie@149 5 * of this software and associated documentation files (the "Software"), to
jamie@149 6 * deal in the Software without restriction, including without limitation the
jamie@149 7 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
jamie@149 8 * sell copies of the Software, and to permit persons to whom the Software is
jamie@149 9 * furnished to do so, subject to the following conditions:
jamie@149 10 *
jamie@149 11 * The above copyright notice and this permission notice shall be included in
jamie@149 12 * all copies or substantial portions of the Software.
jamie@149 13 *
jamie@149 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
jamie@149 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
jamie@149 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
jamie@149 17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
jamie@149 18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
jamie@149 19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
jamie@149 20 * IN THE SOFTWARE.
jamie@149 21 *
jamie@149 22 */
jamie@149 23
jamie@150 24 #ifndef FFT_H
jamie@150 25 #define FFT_H
jamie@150 26
jamie@150 27 #ifdef HAVE_CONFIG_H
jamie@150 28 #include <config.h>
jamie@150 29 #endif
jamie@150 30
jamie@150 31 #ifdef USE_OOURA
jamie@149 32 #include "ooura/fftsg.h"
jamie@150 33 #else
jamie@150 34 #include <Accelerate/Accelerate.h>
jamie@150 35 #endif
jamie@150 36
jamie@150 37 #ifdef USE_OOURA
jamie@150 38 typedef struct xtract_ooura_data_
jamie@150 39 {
jamie@150 40 int *ooura_ip;
jamie@150 41 double *ooura_w;
jamie@150 42 bool initialised;
jamie@150 43 } xtract_ooura_data;
jamie@150 44 #else
jamie@150 45 typedef struct xtract_vdsp_data_
jamie@150 46 {
jamie@150 47 FFTSetupD setup;
jamie@150 48 DSPDoubleSplitComplex fft;
jamie@150 49 vDSP_Length log2N;
jamie@150 50 bool initialised;
jamie@150 51 } xtract_vdsp_data;
jamie@150 52 #endif
jamie@150 53
jamie@150 54 #endif /* Header guard */