[xiph-cvs] cvs commit: speex/src speexenc.c

Jean-Marc Valin jm at xiph.org
Sun Jan 12 22:11:05 PST 2003



jm          03/01/13 01:11:05

  Modified:    src      speexenc.c
  Log:
  fixed some warnings

Revision  Changes    Path
1.70      +2 -2      speex/src/speexenc.c

Index: speexenc.c
===================================================================
RCS file: /usr/local/cvsroot/speex/src/speexenc.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- speexenc.c	6 Jan 2003 22:06:45 -0000	1.69
+++ speexenc.c	13 Jan 2003 06:11:05 -0000	1.70
@@ -447,7 +447,7 @@
    {
       if (rate>48000)
       {
-         fprintf (stderr, "Bit-rate too high: %d Hz, try down-sampling\n", rate);
+         fprintf (stderr, "Sampling rate too high: %d Hz, try down-sampling\n", rate);
          exit(1);
       } else if (rate>25000)
       {
@@ -468,7 +468,7 @@
             fprintf (stderr, "WARNING: Trying to encode in %s at %d Hz. I'll do it but I suggest you try narrowband instead\n", mode->modeName , rate);
          }
       } else {
-         fprintf (stderr, "Bit-rate too low: %d Hz\n", rate);
+         fprintf (stderr, "Sampling rate too low: %d Hz\n", rate);
          exit(1);
       }
    } else if (!mode)

<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