comparison src/init.c @ 118:8c8b508dcc95

- Committing ancient change left on HD. Relates to FFTW fft type
author Jamie Bullock <jamie@postlude.co.uk>
date Fri, 12 Sep 2008 13:52:20 +0000
parents 859495925633
children 67f6b6e63d45
comparison
equal deleted inserted replaced
117:2b2d0609e44f 118:8c8b508dcc95
185 break; 185 break;
186 case XTRACT_DCT: 186 case XTRACT_DCT:
187 if(fft_plans.dct_plan != NULL) 187 if(fft_plans.dct_plan != NULL)
188 fftwf_destroy_plan(fft_plans.dct_plan); 188 fftwf_destroy_plan(fft_plans.dct_plan);
189 fft_plans.dct_plan = 189 fft_plans.dct_plan =
190 fftwf_plan_r2r_1d(N, input, output, FFTW_REDFT00, optimisation); 190 fftwf_plan_r2r_1d(N, input, output, FFTW_REDFT10, optimisation);
191 case XTRACT_MFCC: 191 case XTRACT_MFCC:
192 if(fft_plans.dct_plan != NULL) 192 if(fft_plans.dct_plan != NULL)
193 fftwf_destroy_plan(fft_plans.dct_plan); 193 fftwf_destroy_plan(fft_plans.dct_plan);
194 fft_plans.dct_plan = 194 fft_plans.dct_plan =
195 fftwf_plan_r2r_1d(N, output, output, FFTW_REDFT00, optimisation); 195 fftwf_plan_r2r_1d(N, output, output, FFTW_REDFT00, optimisation);