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

Chris Wolf cwolf at xiph.org
Sat Dec 29 09:47:18 PST 2001



cwolf       01/12/29 09:47:17

  Modified:    examples encoder_example.c
  Log:
  restore to stereo and max compression

Revision  Changes    Path
1.35      +2 -3      vorbis/examples/encoder_example.c

Index: encoder_example.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/examples/encoder_example.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- encoder_example.c	2001/12/23 11:59:22	1.34
+++ encoder_example.c	2001/12/29 17:47:16	1.35
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: simple example encoder
- last mod: $Id: encoder_example.c,v 1.34 2001/12/23 11:59:22 xiphmont Exp $
+ last mod: $Id: encoder_example.c,v 1.35 2001/12/29 17:47:16 cwolf Exp $
 
  ********************************************************************/
 
@@ -97,8 +97,7 @@
   /* (quality mode .4: 44kHz stereo coupled, roughly 128kbps VBR) */
   vorbis_info_init(&vi);
 
-  vorbis_encode_init_vbr(&vi,1,44100,.4);
-  /*vorbis_encode_init(&vi,2,44100,-1,128000,-1);*/
+  vorbis_encode_init_vbr(&vi,2,44100,.1); // max compression
 
   /* 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