diff options
author | Alexander Chemeris <alexander.chemeris@gmail.com> | 2008-10-03 04:38:47 +0400 |
---|---|---|
committer | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2008-10-03 04:38:47 +0400 |
commit | 42ef4a1d79eb85d450686e633500bc85450d8036 (patch) | |
tree | 823e523da7cf8d49c7933184a8aa754a680f04b0 /libspeex | |
parent | a0336c33b7eca71e6786a8c7e8c28213b6daa162 (diff) |
Fix for VS files to include multi-channel changes. Also patches scal.c for
compilers that don't have M_PI defined.
Diffstat (limited to 'libspeex')
-rwxr-xr-x[-rw-r--r--] | libspeex/scal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libspeex/scal.c b/libspeex/scal.c index 1ddaba2..358f817 100644..100755 --- a/libspeex/scal.c +++ b/libspeex/scal.c @@ -52,6 +52,10 @@ The algorithm implemented here is described in: #include <math.h> #include <stdlib.h> +#ifndef M_PI +#define M_PI 3.14159265358979323846 /* pi */ +#endif + #define ALLPASS_ORDER 20 struct SpeexDecorrState_ { |