jamie@99: /* libxtract feature extraction library jamie@99: * jamie@99: * Copyright (C) 2006 Jamie Bullock jamie@99: * jamie@99: * This program is free software; you can redistribute it and/or modify jamie@99: * it under the terms of the GNU General Public License as published by jamie@99: * the Free Software Foundation; either version 2 of the License, or jamie@99: * (at your option) any later version. jamie@99: * jamie@99: * This program is distributed in the hope that it will be useful, jamie@99: * but WITHOUT ANY WARRANTY; without even the implied warranty of jamie@99: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the jamie@99: * GNU General Public License for more details. jamie@99: * jamie@99: * You should have received a copy of the GNU General Public License jamie@99: * along with this program; if not, write to the Free Software jamie@99: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, jamie@99: * USA. jamie@99: */ jamie@99: jamie@99: /* fini.c: Contains library destructor routine */ jamie@99: jamie@99: #ifdef XTRACT_FFT jamie@99: #include jamie@110: //#include "xtract_globals_private.h" jamie@110: #include "xtract/libxtract.h" jamie@99: #endif jamie@99: jamie@99: #ifdef __GNUC__ jamie@99: __attribute__((destructor)) void fini() jamie@99: #else jamie@99: void _fini() jamie@99: #endif jamie@99: { jamie@99: #ifdef XTRACT_FFT jamie@110: xtract_free_fft(); jamie@110: fftwf_cleanup(); jamie@99: #endif jamie@99: } jamie@99: jamie@99: jamie@99: