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

jm at svn.xiph.org jm at svn.xiph.org
Tue Feb 21 03:19:25 PST 2006


Author: jm
Date: 2006-02-21 03:19:20 -0800 (Tue, 21 Feb 2006)
New Revision: 10842

Modified:
   trunk/speex/libspeex/testenc.c
Log:
adjust group delay


Modified: trunk/speex/libspeex/testenc.c
===================================================================
--- trunk/speex/libspeex/testenc.c	2006-02-21 05:56:20 UTC (rev 10841)
+++ trunk/speex/libspeex/testenc.c	2006-02-21 11:19:20 UTC (rev 10842)
@@ -48,7 +48,7 @@
    callback.data = st;
    speex_decoder_ctl(dec, SPEEX_SET_HANDLER, &callback);
 
-   tmp=0;
+   tmp=1;
    speex_decoder_ctl(dec, SPEEX_SET_ENH, &tmp);
    tmp=0;
    speex_encoder_ctl(st, SPEEX_SET_VBR, &tmp);
@@ -59,7 +59,7 @@
 
    speex_mode_query(&speex_nb_mode, SPEEX_MODE_FRAME_SIZE, &tmp);
    fprintf (stderr, "frame size: %d\n", tmp);
-   skip_group_delay = tmp / 2;
+   skip_group_delay = tmp / 4;
 
    if (argc != 4 && argc != 3)
    {



More information about the commits mailing list