[xiph-cvs] cvs commit: vorbis/lib vorbisenc.c

Monty xiphmont at xiph.org
Tue Dec 18 17:18:41 PST 2001



xiphmont    01/12/18 17:18:41

  Modified:    lib      vorbisenc.c
  Log:
  "oops"

Revision  Changes    Path
1.25      +5 -9      vorbis/lib/vorbisenc.c

Index: vorbisenc.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis/lib/vorbisenc.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- vorbisenc.c	2001/12/19 01:08:15	1.24
+++ vorbisenc.c	2001/12/19 01:18:40	1.25
@@ -11,7 +11,7 @@
  ********************************************************************
 
  function: simple programmatic interface for encoder mode setup
- last mod: $Id: vorbisenc.c,v 1.24 2001/12/19 01:08:15 xiphmont Exp $
+ last mod: $Id: vorbisenc.c,v 1.25 2001/12/19 01:18:40 xiphmont Exp $
 
  ********************************************************************/
 
@@ -807,6 +807,9 @@
     hi->lowpass_kHz[1]=
     _psy_lowpass_44[iq]*(1.-dq)+_psy_lowpass_44[iq+1]*dq;
 
+  /* set bitrate approximation */
+
+
   return(ret);
 }
 
@@ -818,15 +821,8 @@
                            ){
   int ret=0;
 
-  ret=vorbis_encode_setup_vbr(vi,channels,rate,1.);
+  ret=vorbis_encode_setup_vbr(vi,channels,rate,base_quality);
   
-  {
-    codec_setup_info *ci=vi->codec_setup;
-    highlevel_encode_setup *hi=&ci->hi;
-    hi->stereo_couple_p=0;
-    hi->residue_backfill_p=1;
-  }
-
   if(ret){
     vorbis_info_clear(vi);
     return ret; 

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