[xiph-cvs] cvs commit: speex/win32/libspeex libspeex.dsp

Jean-Marc Valin jm at xiph.org
Tue May 20 23:03:45 PDT 2003



jm          03/05/21 02:03:45

  Modified:    libspeex denoise.c modes.c
               win32/libspeex libspeex.dsp
  Log:
  minor compilation fixes

Revision  Changes    Path
1.8       +3 -2      speex/libspeex/denoise.c

Index: denoise.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/denoise.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- denoise.c	20 May 2003 02:46:34 -0000	1.7
+++ denoise.c	21 May 2003 06:03:45 -0000	1.8
@@ -424,12 +424,13 @@
 
    if ((mean_prior>3&&mean_prior>3))
    {
+      float loudness=0;
+      float rate;
       st->nb_loudness_adapt++;
-      float rate=2.0/(1+st->nb_loudness_adapt);
+      rate=2.0/(1+st->nb_loudness_adapt);
       if (rate < .01)
          rate = .01;
 
-      float loudness=0;
       for (i=2;i<N;i++)
       {
          loudness += scale*st->ps[i] * st->gain2[i] * st->gain2[i] * st->loudness_weight[i];

<p><p>1.105     +1 -1      speex/libspeex/modes.c

Index: modes.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/modes.c,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -r1.104 -r1.105
--- modes.c	13 May 2003 20:57:31 -0000	1.104
+++ modes.c	21 May 2003 06:03:45 -0000	1.105
@@ -594,7 +594,7 @@
    split_cb_shape_sign_unquant,
    &split_cb_nb_48k,
 
-   0.8, 0.6, .7,
+   0.7, 0.5, .55,
    144
 };
 

<p><p>1.6       +23 -7     speex/win32/libspeex/libspeex.dsp

Index: libspeex.dsp
===================================================================
RCS file: /usr/local/cvsroot/speex/win32/libspeex/libspeex.dsp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- libspeex.dsp	23 Mar 2003 16:59:06 -0000	1.5
+++ libspeex.dsp	21 May 2003 06:03:45 -0000	1.6
@@ -1,5 +1,5 @@
 # Microsoft Developer Studio Project File - Name="libspeex" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# Microsoft Developer Studio Generated Build File, Format Version 60000
 # ** DO NOT EDIT **
 
 # TARGTYPE "Win32 (x86) Static Library" 0x0104
@@ -23,9 +23,9 @@
 
 # Begin Project
 # PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-CPP=xicl6.exe
+# PROP Scc_ProjName "Perforce Project"
+# PROP Scc_LocalPath "..\.."
+CPP=cl.exe
 RSC=rc.exe
 
 !IF  "$(CFG)" == "libspeex - Win32 Release"
@@ -42,13 +42,13 @@
 # PROP Target_Dir ""
 F90=df.exe
 # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /GX /Ox /Ot /Og /Oi /Oy /Ob2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /GX /Ox /Ot /Og /Oi /Ob2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
 # ADD BASE RSC /l 0x809 /d "NDEBUG"
 # ADD RSC /l 0x809 /d "NDEBUG"
 BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo
 # ADD BSC32 /nologo
-LIB32=xilink6.exe -lib
+LIB32=link.exe -lib
 # ADD BASE LIB32 /nologo
 # ADD LIB32 /nologo
 
@@ -72,7 +72,7 @@
 BSC32=bscmake.exe
 # ADD BASE BSC32 /nologo
 # ADD BSC32 /nologo
-LIB32=xilink6.exe -lib
+LIB32=link.exe -lib
 # ADD BASE LIB32 /nologo
 # ADD LIB32 /nologo
 
@@ -95,6 +95,10 @@
 # End Source File
 # Begin Source File
 
+SOURCE=..\..\libspeex\denoise.c
+# End Source File
+# Begin Source File
+
 SOURCE=..\..\libspeex\exc_10_16_table.c
 # End Source File
 # Begin Source File
@@ -183,6 +187,10 @@
 # End Source File
 # Begin Source File
 
+SOURCE=..\..\libspeex\smallft.c
+# End Source File
+# Begin Source File
+
 SOURCE=..\..\libspeex\speex_callbacks.c
 # End Source File
 # Begin Source File
@@ -247,6 +255,10 @@
 # End Source File
 # Begin Source File
 
+SOURCE=..\..\libspeex\smallft.h
+# End Source File
+# Begin Source File
+
 SOURCE=..\..\libspeex\speex.h
 # End Source File
 # Begin Source File
@@ -256,6 +268,10 @@
 # Begin Source File
 
 SOURCE=..\..\libspeex\speex_callbacks.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\libspeex\speex_denoise.h
 # End Source File
 # Begin Source File
 

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list