[vorbis-dev] confusing comment in encoder_example.c

Alan MacDonald newslists at warpzillion.com
Mon Jul 15 08:25:21 PDT 2002



I think the example in the comment has a '-' that shouldn't be there (line
108):

  /*********************************************************************
   Encoding using a VBR quality mode.  The usable range is -.1
   (lowest quality, smallest file) to 1. (highest quality, largest file).
   Example quality mode .4: 44kHz stereo coupled, roughly 128kbps VBR

   ret = vorbis_encode_init_vbr(&vi,2,44100,-.4);
   ...

also small typo line 70:

#ifdef _WIN32 /* We need to set stdin/stdout to binary mode. Damn windows.
*/
  /* if we were reading/writing a file, it would also need to in
     binary mode, eg, 'fopen("file.wav","rb"); */

Vorbis 1.0 sounds great.  Thanks for the great work everyone!

Later,
Alan

<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 'vorbis-dev-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 Vorbis-dev mailing list