[xiph-commits] r10131 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Wed Oct 5 16:21:19 PDT 2005
Author: jm
Date: 2005-10-05 16:21:16 -0700 (Wed, 05 Oct 2005)
New Revision: 10131
Modified:
trunk/speex/libspeex/sb_celp.c
Log:
oops. Un-broke the LPC analysis.
Modified: trunk/speex/libspeex/sb_celp.c
===================================================================
--- trunk/speex/libspeex/sb_celp.c 2005-10-05 12:25:18 UTC (rev 10130)
+++ trunk/speex/libspeex/sb_celp.c 2005-10-05 23:21:16 UTC (rev 10131)
@@ -445,9 +445,9 @@
/* Compute auto-correlation */
_spx_autocorr(w_sig, st->autocorr, st->lpcSize+1, st->windowSize);
}
+
+ st->autocorr[0] = ADD16(st->autocorr[0],(spx_word16_t) (st->autocorr[0]*st->lpc_floor)); /* Noise floor in auto-correlation domain */
- st->autocorr[0] = (spx_word16_t)(st->autocorr[0]*st->lpc_floor); /* Noise floor in auto-correlation domain */
-
/* Lag windowing: equivalent to filtering in the power-spectrum domain */
for (i=0;i<st->lpcSize+1;i++)
st->autocorr[i] = MULT16_16_Q14(st->autocorr[i],st->lagWindow[i]);
More information about the commits
mailing list