[xiph-cvs] cvs commit: vorbis/examples encoder_example.c

Monty xiphmont at xiph.org
Fri Nov 3 03:31:35 PST 2000



xiphmont    00/11/03 03:31:35

  Modified:    examples Tag: branch_beta3 encoder_example.c
  Log:
  Correct misleading kbps argument in encoder_example

Revision  Changes    Path
No                   revision

No                   revision

1.14.2.2  +2 -2      vorbis/examples/encoder_example.c

Index: encoder_example.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/examples/encoder_example.c,v
retrieving revision 1.14.2.1
retrieving revision 1.14.2.2
diff -u -r1.14.2.1 -r1.14.2.2
--- encoder_example.c	2000/11/03 10:05:43	1.14.2.1
+++ encoder_example.c	2000/11/03 11:31:35	1.14.2.2
@@ -12,7 +12,7 @@
  ********************************************************************
 
  function: simple example encoder
- last mod: $Id: encoder_example.c,v 1.14.2.1 2000/11/03 10:05:43 xiphmont Exp $
+ last mod: $Id: encoder_example.c,v 1.14.2.2 2000/11/03 11:31:35 xiphmont Exp $
 
  ********************************************************************/
 
@@ -80,7 +80,7 @@
   /* choose an encoding mode */
   /* (mode 0: 44kHz stereo uncoupled, roughly 128kbps VBR) */
   vorbis_info_init(&vi);
-  vorbis_encode_init(&vi,2,44100, -1, 128, -1);
+  vorbis_encode_init(&vi,2,44100, -1, 128000, -1);
 
   /* add a comment */
   vorbis_comment_init(&vc);

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