oops... fixed an #ifdef that wasn't including compute_rms when compiling
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Tue, 11 Nov 2003 15:51:53 +0000 (15:51 +0000)
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Tue, 11 Nov 2003 15:51:53 +0000 (15:51 +0000)
with SSE support.

git-svn-id: http://svn.xiph.org/trunk/speex@5561 0101bb08-14d6-0310-b084-bc0e0c8e3800

libspeex/filters.c

index 35524c5..3a6db57 100644 (file)
@@ -254,10 +254,6 @@ void fir_mem2(spx_sig_t *x, spx_coef_t *num, spx_sig_t *y, int N, int ord, spx_m
 
 
 
-#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 @@ spx_word16_t compute_rms(spx_sig_t *x, int len)
    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;