00001 /* 00002 * Copyright (c) 2001-2004 MUSIC TECHNOLOGY GROUP (MTG) 00003 * UNIVERSITAT POMPEU FABRA 00004 * 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 * 00020 */ 00021 00022 #ifndef _CLAMDataTypes_ 00023 #define _CLAMDataTypes_ 00024 00025 namespace CLAM { 00026 00027 typedef int TIndex; 00028 typedef int TSize; 00029 typedef short TInt16; 00030 typedef unsigned short TUInt16; 00031 typedef int TInt32; 00032 typedef unsigned int TUInt32; 00033 #ifdef _MSC_VER 00034 typedef __int64 TInt64; 00035 typedef unsigned __int64 TUInt64; 00036 #else 00037 typedef long long TInt64; 00038 typedef unsigned long long TUInt64; 00039 #endif 00040 typedef float TFloat32; 00041 typedef double TFloat64; 00042 typedef unsigned char TByte; 00043 typedef TByte TMIDIByte; 00044 typedef TInt32 TMIDITime; 00045 typedef double TTime; 00046 00047 #ifdef CLAM_DOUBLE 00048 typedef double TData; 00049 #else 00050 typedef float TData; 00051 #endif 00052 00053 /* the different FFT_Types */ 00054 enum EFFTType 00055 { 00056 eNone, 00057 eRFFTW, 00058 eFFT_NREC, 00059 eFFT_IUA 00060 }; 00061 00062 } 00063 00064 #endif 00065