[xiph-cvs] cvs commit: speex/libspeex filters.c

Jean-Marc Valin jm at xiph.org
Tue Nov 11 07:51:54 PST 2003



jm          03/11/11 10:51:54

  Modified:    libspeex filters.c
  Log:
  oops... fixed an #ifdef that wasn't including compute_rms when compiling
  with SSE support.

Revision  Changes    Path
1.61      +5 -4      speex/libspeex/filters.c

Index: filters.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/filters.c,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- filters.c	11 Nov 2003 00:19:46 -0000	1.60
+++ filters.c	11 Nov 2003 15:51:53 -0000	1.61
@@ -254,10 +254,6 @@
 
 
 
-#ifdef _USE_SSE
-#include "filters_sse.h"
-#else
-
 spx_word16_t compute_rms(spx_sig_t *x, int len)
 {
    int i;
@@ -269,6 +265,11 @@
    return sqrt(.1+sum/len);
 }
 
+#ifdef _USE_SSE
+#include "filters_sse.h"
+#else
+
+
 void filter_mem2(spx_sig_t *x, spx_coef_t *num, spx_coef_t *den, spx_sig_t *y, int N, int ord,  spx_mem_t *mem)
 {
    int i,j;

<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