Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/speex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Chemeris <alexander.chemeris@gmail.com>2008-10-03 04:38:47 +0400
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2008-10-03 04:38:47 +0400
commit42ef4a1d79eb85d450686e633500bc85450d8036 (patch)
tree823e523da7cf8d49c7933184a8aa754a680f04b0 /libspeex
parenta0336c33b7eca71e6786a8c7e8c28213b6daa162 (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.c4
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_ {