Essentia  2.1-beta6-dev
config.h File Reference
#include "version.h"

Go to the source code of this file.

Macros

#define ESSENTIA_VERSION   "Undefined"
 
#define ESSENTIA_GIT_SHA   "Undefined"
 
#define DEBUGGING_ENABLED   1
 
#define ESSENTIA_EXPORTS   1
 
#define STRIP_DOCUMENTATION   0
 
#define CASE_SENSITIVE   1
 
#define SAFE_TYPE_COMPARISONS   0
 
#define ALLOW_DEFAULT_PARAMETERS   1
 
#define OS_LINUX
 

Macro Definition Documentation

◆ ALLOW_DEFAULT_PARAMETERS

#define ALLOW_DEFAULT_PARAMETERS   1
  • if set to 1, this allows to use default values for the parameters when the algorithm defines them.
  • if set to 0, this requires algorithm instantiations to always explicitly specify all the parameters. If they are not all specified, the instantiation of the algorithm will fail and throw an exception.

◆ CASE_SENSITIVE

#define CASE_SENSITIVE   1

if set to 1, all string comparisons in essentia are case-sensitive, otherwise they are case-insensitive (slower).

◆ DEBUGGING_ENABLED

#define DEBUGGING_ENABLED   1

if set to 1, debugging will be enabled and you will be able to control it using the functions defined in the debugging.h file. It is recommended to disable it only in the situations where you need the absolute last drop of performance, because debug levels that are not activated do cost a little bit, but not that much really.

◆ ESSENTIA_EXPORTS

#define ESSENTIA_EXPORTS   1

if set to 1, essentia will be exporting symbols which are part of the main API. Use this when compiling it as a shared library. Also needed for compiling the python bindings.

◆ ESSENTIA_GIT_SHA

#define ESSENTIA_GIT_SHA   "Undefined"

Essentia github commit hash

◆ ESSENTIA_VERSION

#define ESSENTIA_VERSION   "Undefined"

Essentia version number.

◆ OS_LINUX

#define OS_LINUX

C++ version OS type.

◆ SAFE_TYPE_COMPARISONS

#define SAFE_TYPE_COMPARISONS   0

if set to 1, essentia will use safe type comparisons (i.e.: based on the name of the type, rather than just on the pointer) when setting inputs/outputs of an algorithm. This allows type comparisons to work across dynamic libraries boundaries, but is a little bit slower.

◆ STRIP_DOCUMENTATION

#define STRIP_DOCUMENTATION   0

if set to 1, this will remove all documentation strings from the compiled library or executable.