[xiph-commits] r11030 - trunk/speex/libspeex

jm at svn.xiph.org jm at svn.xiph.org
Sun Mar 19 21:48:06 PST 2006


Author: jm
Date: 2006-03-19 21:48:03 -0800 (Sun, 19 Mar 2006)
New Revision: 11030

Modified:
   trunk/speex/libspeex/nb_celp.c
Log:
Fix the Vorbis curve for the smaller LPC window.


Modified: trunk/speex/libspeex/nb_celp.c
===================================================================
--- trunk/speex/libspeex/nb_celp.c	2006-03-20 03:03:00 UTC (rev 11029)
+++ trunk/speex/libspeex/nb_celp.c	2006-03-20 05:48:03 UTC (rev 11030)
@@ -445,7 +445,7 @@
    }
 
 #ifdef VORBIS_PSYCHO
-   compute_curve(st->psy, st->frame-16, st->curve);
+   compute_curve(st->psy, st->frame-256+st->windowSize, st->curve);
    /*print_vec(st->curve, 128, "curve");*/
    if (st->first)
       for (i=0;i<128;i++)



More information about the commits mailing list