Fix for VS files to include multi-channel changes. Also patches scal.c for
authorAlexander Chemeris <alexander.chemeris@gmail.com>
Fri, 3 Oct 2008 00:38:47 +0000 (20:38 -0400)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Fri, 3 Oct 2008 00:38:47 +0000 (20:38 -0400)
compilers that don't have M_PI defined.

libspeex/scal.c [changed mode: 0644->0755]
win32/VS2003/libspeexdsp/libspeexdsp.vcproj [changed mode: 0644->0755]
win32/VS2005/libspeexdsp/libspeexdsp.vcproj [changed mode: 0644->0755]
win32/VS2008/libspeexdsp/libspeexdsp.vcproj [changed mode: 0644->0755]
win32/libspeex/libspeexdsp.dsp [changed mode: 0644->0755]
win32/libspeex/libspeexdsp_dynamic.dsp [changed mode: 0644->0755]
win32/libspeexdsp.def [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 1ddaba2..358f817
@@ -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_ {
old mode 100644 (file)
new mode 100755 (executable)
index 23bd146..1fc21ad
                                RelativePath="..\..\..\libspeex\resample.c">\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\..\libspeex\scal.c">\r
+                       </File>\r
+                       <File\r
                                RelativePath="..\..\..\libspeex\smallft.c">\r
                        </File>\r
                </Filter>\r
old mode 100644 (file)
new mode 100755 (executable)
index 309f28a..2d22d6a
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\..\libspeex\scal.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
                                RelativePath="..\..\..\libspeex\smallft.c"\r
                                >\r
                        </File>\r
old mode 100644 (file)
new mode 100755 (executable)
index f673eb1..5904b94
                                >\r
                        </File>\r
                        <File\r
+                               RelativePath="..\..\..\libspeex\scal.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
                                RelativePath="..\..\..\libspeex\smallft.c"\r
                                >\r
                        </File>\r
old mode 100644 (file)
new mode 100755 (executable)
index 0e39ada..6accbd8
@@ -125,6 +125,10 @@ SOURCE=..\..\libspeex\resample.c
 # End Source File\r
 # Begin Source File\r
 \r
+SOURCE=..\..\libspeex\scal.c\r
+# End Source File\r
+# Begin Source File\r
+\r
 SOURCE=..\..\libspeex\smallft.c\r
 # End Source File\r
 # End Group\r
old mode 100644 (file)
new mode 100755 (executable)
index 1a1a211..ac40b38
@@ -130,6 +130,10 @@ SOURCE=..\..\libspeex\resample.c
 # End Source File\r
 # Begin Source File\r
 \r
+SOURCE=..\..\libspeex\scal.c\r
+# End Source File\r
+# Begin Source File\r
+\r
 SOURCE=..\..\libspeex\smallft.c\r
 # End Source File\r
 # End Group\r
old mode 100644 (file)
new mode 100755 (executable)
index bea3358..45fc69d
@@ -17,6 +17,7 @@ speex_buffer_resize
 ;      speex_echo.h
 ;
 speex_echo_state_init
+speex_echo_state_init_mc
 speex_echo_state_destroy
 speex_echo_cancellation
 speex_echo_cancel
@@ -24,6 +25,9 @@ speex_echo_capture
 speex_echo_playback
 speex_echo_state_reset
 speex_echo_ctl
+speex_decorrelate_new
+speex_decorrelate
+speex_decorrelate_destroy
 
 ;
 ;      speex_jitter.h