[xiph-cvs] cvs commit: speex/libspeex sb_celp.c modes.c

Jean-Marc Valin jm at xiph.org
Thu Nov 7 21:00:27 PST 2002



jm          02/11/08 00:00:26

  Modified:    libspeex sb_celp.c modes.c
  Log:
  Fixed a couple stupid bugs

Revision  Changes    Path
1.89      +6 -0      speex/libspeex/sb_celp.c

Index: sb_celp.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/sb_celp.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -r1.88 -r1.89
--- sb_celp.c	6 Nov 2002 01:47:39 -0000	1.88
+++ sb_celp.c	8 Nov 2002 05:00:26 -0000	1.89
@@ -1056,6 +1056,12 @@
       else
          (*(int*)ptr) += 50*(SB_SUBMODE_BITS+1);
       break;
+   case SPEEX_SET_HANDLER:
+      speex_decoder_ctl(st->st_low, SPEEX_SET_HANDLER, ptr);
+      break;
+   case SPEEX_SET_USER_HANDLER:
+      speex_decoder_ctl(st->st_low, SPEEX_SET_USER_HANDLER, ptr);
+      break;
    case SPEEX_GET_PI_GAIN:
       {
          int i;

<p><p>1.86      +1 -1      speex/libspeex/modes.c

Index: modes.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/modes.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- modes.c	4 Nov 2002 03:00:51 -0000	1.85
+++ modes.c	8 Nov 2002 05:00:26 -0000	1.86
@@ -490,7 +490,7 @@
    &sb_uwb_mode,
    wb_mode_query,
    "ultra-wideband (sub-band CELP)",
-   1,
+   2,
    4,
    &sb_encoder_init,
    &sb_encoder_destroy,

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list