SAL
A C++ library for spatial audio.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
salconstants.h
Go to the documentation of this file.
1 /*
2  salconstants.h
3  Spatial Audio Library (SAL)
4  Copyright (c) 2011, Enzo De Sena
5  All rights reserved.
6 
7  Authors: Enzo De Sena, enzodesena@gmail.com
8 
9  This file contains constants, e.g. PI, sound speed etc..
10 
11  */
12 
13 #ifndef SAL_CONSTANTS_H
14 #define SAL_CONSTANTS_H
15 
16 #ifndef PI
17  #define PI 3.141592653589793238462643383279502884197169399375105820974944
18 #endif
19 
20 #ifndef VERY_SMALL
21  #define VERY_SMALL (1.0E-4)
22 #endif
23 
24 #define SOUND_SPEED 343.0 // Speed of sound-
25 
26 #endif