The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Preprocessor definitions common to all MHA components. More...
Macros | |
#define | CHECK_EXPR(x) {if(!(x)){throw MHA_Error(__FILE__,__LINE__,"The expression \"" #x "\" is invalid.");}} |
#define | CHECK_VAR(x) {if(!(x)){throw MHA_Error(__FILE__,__LINE__,"The variable \"" #x "\" is not defined.");}} |
#define | M_PI 3.14159265358979323846 |
Define pi if it is not defined yet. More... | |
Preprocessor definitions common to all MHA components.
This file contains all preprocessor and type definitions which are common to all Master Hearing Aid components.
#define CHECK_EXPR | ( | x | ) | {if(!(x)){throw MHA_Error(__FILE__,__LINE__,"The expression \"" #x "\" is invalid.");}} |
#define CHECK_VAR | ( | x | ) | {if(!(x)){throw MHA_Error(__FILE__,__LINE__,"The variable \"" #x "\" is not defined.");}} |
#define M_PI 3.14159265358979323846 |
Define pi if it is not defined yet.