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

jm at svn.xiph.org jm at svn.xiph.org
Thu Apr 13 01:29:58 PDT 2006


Author: jm
Date: 2006-04-13 01:29:56 -0700 (Thu, 13 Apr 2006)
New Revision: 11129

Modified:
   trunk/speex/libspeex/nb_celp.c
Log:
oops, wasn't scaling the right thing...


Modified: trunk/speex/libspeex/nb_celp.c
===================================================================
--- trunk/speex/libspeex/nb_celp.c	2006-04-13 08:16:46 UTC (rev 11128)
+++ trunk/speex/libspeex/nb_celp.c	2006-04-13 08:29:56 UTC (rev 11129)
@@ -1719,7 +1719,10 @@
       gain = gain32;
 #endif
       for (i=0;i<st->frameSize;i++)
+      {
          st->exc[i] = MULT16_32_Q14(gain, st->exc[i]);
+         out[i]=PSHR32(st->exc[i],SIG_SHIFT);
+      }
    }
 
    /*Loop on subframes */



More information about the commits mailing list