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

jm at svn.xiph.org jm at svn.xiph.org
Mon Jul 18 17:57:11 PDT 2005


Author: jm
Date: 2005-07-18 17:57:08 -0700 (Mon, 18 Jul 2005)
New Revision: 9584

Modified:
   trunk/speex/libspeex/sb_celp.c
   trunk/speex/libspeex/sb_celp.h
Log:
removed unused buffer


Modified: trunk/speex/libspeex/sb_celp.c
===================================================================
--- trunk/speex/libspeex/sb_celp.c	2005-07-18 14:27:39 UTC (rev 9583)
+++ trunk/speex/libspeex/sb_celp.c	2005-07-19 00:57:08 UTC (rev 9584)
@@ -272,7 +272,6 @@
    st->g0_mem=speex_alloc((QMF_ORDER)*sizeof(spx_word32_t));
    st->g1_mem=speex_alloc((QMF_ORDER)*sizeof(spx_word32_t));
 
-   st->buf=speex_alloc((st->windowSize)*sizeof(spx_sig_t));
    st->excBuf=speex_alloc((st->bufSize)*sizeof(spx_sig_t));
    st->exc = st->excBuf + st->bufSize - st->windowSize;
 
@@ -349,7 +348,6 @@
    speex_free(st->g0_mem);
    speex_free(st->g1_mem);
 
-   speex_free(st->buf);
    speex_free(st->excBuf);
    speex_free(st->res);
    speex_free(st->sw);

Modified: trunk/speex/libspeex/sb_celp.h
===================================================================
--- trunk/speex/libspeex/sb_celp.h	2005-07-18 14:27:39 UTC (rev 9583)
+++ trunk/speex/libspeex/sb_celp.h	2005-07-19 00:57:08 UTC (rev 9584)
@@ -66,7 +66,6 @@
 
    spx_sig_t *excBuf;              /**< High-band excitation */
    spx_sig_t *exc;                 /**< High-band excitation (for QMF only)*/
-   spx_sig_t *buf;                 /**< Temporary buffer */
    spx_sig_t *res;                 /**< Zero-input response (ringing) */
    spx_sig_t *sw;                  /**< Perceptually weighted signal */
    spx_sig_t *target;              /**< Weighted target signal (analysis by synthesis) */



More information about the commits mailing list