global.h

来自「This a framework to test new ideas in tr」· C头文件 代码 · 共 51 行

H
51
字号
/***************************************************************************         global.h  -  Global configuration parameters                            -------------------    begin                :  2004    authors              :  Linus Gasser    emails               :  linus.gasser@epfl.ch ***************************************************************************//***************************************************************************                                 Changes                                 ------- date - name - description 04/05/13 - ineiti- begin **************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************//** * Some global parameters that are more easy here than passed all over * the place. */#ifndef GLOBAL_H__#define GLOBAL_H__#include "parameters.h"extern bool isDebug;extern bool isProfiling;#define FFT 		-1#define REV_FFT  	 1void fft(double *x,double *y,unsigned int order,int param);#define PARAM_IS_DEBUG(f) ( !!( (f) & PARAMETER_DEBUG ) )#define PARAM_IS_HIDDEN(f) ( !!( (f) & PARAMETER_HIDDEN ) )#define VALUE_HIDE(f) ( PARAM_IS_HIDDEN(f) ||			\			( !isDebug && PARAM_IS_DEBUG(f) ) )#define VALUE_SHOW(f) ( !VALUE_HIDE(f) )#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?