[xiph-cvs] cvs commit: ices/src config.c encode.c stream_shared.c

Michael Smith msmith at xiph.org
Mon Jan 28 04:53:00 PST 2002



msmith      02/01/28 04:52:59

  Modified:    src      config.c encode.c stream_shared.c
  Log:
  Fix some typos.

Revision  Changes    Path
1.5       +2 -2      ices/src/config.c

Index: config.c
===================================================================
RCS file: /usr/local/cvsroot/ices/src/config.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- config.c	2002/01/28 00:19:15	1.4
+++ config.c	2002/01/28 12:52:58	1.5
@@ -1,7 +1,7 @@
 /* config.c
  * - config file reading code, plus default settings.
  *
- * $Id: config.c,v 1.4 2002/01/28 00:19:15 msmith Exp $
+ * $Id: config.c,v 1.5 2002/01/28 12:52:58 msmith Exp $
  *
  * Copyright (c) 2001 Michael Smith <msmith at labyrinth.net.au>
  *
@@ -422,7 +422,7 @@
                 fprintf(stderr, "minimum bitrate = %d\n", i->min_br);
                 fprintf(stderr, "nominal bitrate = %d\n", i->nom_br);
                 fprintf(stderr, "maximum bitrate = %d\n", i->max_br);
-		fprintf(stderr, "quality = %d\n", i->quality);
+		fprintf(stderr, "quality = %f\n", i->quality);
                 fprintf(stderr, "managed = %d\n", i->managed);
                 fprintf(stderr, "reencode = %d\n", i->encode);
                 fprintf(stderr, "reconnect: %d times at %d second intervals\n", 

<p><p>1.6       +2 -2      ices/src/encode.c

Index: encode.c
===================================================================
RCS file: /usr/local/cvsroot/ices/src/encode.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- encode.c	2002/01/28 00:19:15	1.5
+++ encode.c	2002/01/28 12:52:59	1.6
@@ -1,7 +1,7 @@
 /* encode.c
  * - runtime encoding of PCM data.
  *
- * $Id: encode.c,v 1.5 2002/01/28 00:19:15 msmith Exp $
+ * $Id: encode.c,v 1.6 2002/01/28 12:52:59 msmith Exp $
  *
  * Copyright (c) 2001 Michael Smith <msmith at labyrinth.net.au>
  *
@@ -162,7 +162,7 @@
                 while(vorbis_analysis_blockout(&s->vd, &s->vb)==1)
                 {
                         vorbis_analysis(&s->vb, NULL);
-            vorbis_bitrate_addblock(&s->vd);
+            vorbis_bitrate_addblock(&s->vb);
 
             while(vorbis_bitrate_flushpacket(&s->vd, &op)) 
                             ogg_stream_packetin(&s->os, &op);

<p><p>1.7       +2 -2      ices/src/stream_shared.c

Index: stream_shared.c
===================================================================
RCS file: /usr/local/cvsroot/ices/src/stream_shared.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- stream_shared.c	2002/01/28 00:19:15	1.6
+++ stream_shared.c	2002/01/28 12:52:59	1.7
@@ -1,7 +1,7 @@
 /* stream_shared.c
  * - Stream utility functions.
  *
- * $Id: stream_shared.c,v 1.6 2002/01/28 00:19:15 msmith Exp $
+ * $Id: stream_shared.c,v 1.7 2002/01/28 12:52:59 msmith Exp $
  *
  * Copyright (c) 2001 Michael Smith <msmith at labyrinth.net.au>
  *
@@ -37,7 +37,7 @@
             LOG_ERROR1("Failed to write %d bytes to savefile", len);
     }
 
-    return shout_send(s->shout, buf, len);
+    return shout_send_raw(s->shout, buf, len);
 }
 
 void stream_release_buffer(ref_buffer *buf)

<p><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