[xiph-commits] r10793 - in trunk/speex: . libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Fri Feb 10 04:43:34 PST 2006
Author: jm
Date: 2006-02-10 04:43:30 -0800 (Fri, 10 Feb 2006)
New Revision: 10793
Modified:
trunk/speex/configure.ac
trunk/speex/libspeex/filters.c
Log:
preparing for 1.1.12
Modified: trunk/speex/configure.ac
===================================================================
--- trunk/speex/configure.ac 2006-02-10 00:58:56 UTC (rev 10792)
+++ trunk/speex/configure.ac 2006-02-10 12:43:30 UTC (rev 10793)
@@ -7,7 +7,7 @@
SPEEX_MAJOR_VERSION=1
SPEEX_MINOR_VERSION=1
SPEEX_MICRO_VERSION=12
-SPEEX_EXTRA_VERSION=-svn
+SPEEX_EXTRA_VERSION=
#SPEEX_VERSION=
SPEEX_VERSION=$SPEEX_MAJOR_VERSION.$SPEEX_MINOR_VERSION.$SPEEX_MICRO_VERSION$SPEEX_EXTRA_VERSION
Modified: trunk/speex/libspeex/filters.c
===================================================================
--- trunk/speex/libspeex/filters.c 2006-02-10 00:58:56 UTC (rev 10792)
+++ trunk/speex/libspeex/filters.c 2006-02-10 12:43:30 UTC (rev 10793)
@@ -493,23 +493,6 @@
mem[i+1] = xx[i];
}
-void filter_dc_notch(spx_sig_t *in, spx_word16_t radius, spx_sig_t *out, int len, spx_mem_t *mem)
-{
- int i;
- spx_word16_t num[3], den[3];
- num[0] = num[2] = 1;
- num[1] = -2;
- den[0] = 1;
- den[1] = -2*radius;
- den[2] = radius*radius + .7*(1-radius)*(1-radius);
- for (i=0;i<len;i++)
- {
- out[i] = mem[0] + num[0]*in[i];
- mem[0] = mem[1] + num[1]*in[i] - den[1]*out[i];
- mem[1] = num[2]*in[i] - den[2]*out[i];
- }
-}
-
void comb_filter_mem_init (CombFilterMem *mem)
{
mem->last_pitch=0;
More information about the commits
mailing list