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

Monty xiphmont at xiph.org
Wed Jul 10 23:50:31 PDT 2002



xiphmont    02/07/10 23:50:31

  Modified:    examples encoder_example.c
  Log:
  Saner, default mode for encoder_example

Revision  Changes    Path
1.47      +2 -4      vorbis/examples/encoder_example.c

Index: encoder_example.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/examples/encoder_example.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- encoder_example.c	2002/07/11 06:40:47	1.46
+++ encoder_example.c	2002/07/11 06:50:31	1.47
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: simple example encoder
- last mod: $Id: encoder_example.c,v 1.46 2002/07/11 06:40:47 xiphmont Exp $
+ last mod: $Id: encoder_example.c,v 1.47 2002/07/11 06:50:31 xiphmont Exp $
 
  ********************************************************************/
 
@@ -126,9 +126,7 @@
 
    *********************************************************************/
 
-  
-  //ret=vorbis_encode_init(&vi,2,44100,-1,64000,-1);
-  ret=vorbis_encode_init_vbr(&vi,2,16000,.5);
+  ret=vorbis_encode_init_vbr(&vi,2,44100,.3);
 
   /* do not continue if setup failed; this can happen if we ask for a
      mode that libVorbis does not support (eg, too low a bitrate, etc,

<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