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

Jean-Marc Valin jm at xiph.org
Mon Jun 2 22:29:19 PDT 2003



jm          03/06/03 01:29:19

  Modified:    libspeex modes.c
  Log:
  oops. Fixed a bug in frame size mode query

Revision  Changes    Path
1.106     +1 -1      speex/libspeex/modes.c

Index: modes.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/modes.c,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- modes.c	21 May 2003 06:03:45 -0000	1.105
+++ modes.c	3 Jun 2003 05:29:19 -0000	1.106
@@ -715,7 +715,7 @@
    switch (request)
    {
    case SPEEX_MODE_FRAME_SIZE:
-      *((int*)ptr)=m->frameSize;
+      *((int*)ptr)=2*m->frameSize;
       break;
    case SPEEX_SUBMODE_BITS_PER_FRAME:
       if (*((int*)ptr)==0)

<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