shithub: opus

Download patch

ref: 214528823281d159b4b3d4af7f9ade00aa8b5830
parent: cdfb8f317b9f7de59ee9bd793f3f30ec43783fba
author: Jean-Marc Valin <[email protected]>
date: Fri Sep 9 10:57:43 EDT 2011

Opus now default to VBR

--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -191,7 +191,7 @@
     celt_encoder_ctl(celt_enc, CELT_SET_SIGNALLING(0));
     celt_encoder_ctl(celt_enc, OPUS_SET_COMPLEXITY(10));
 
-    st->use_vbr = 0;
+    st->use_vbr = 1;
     st->user_bitrate_bps = OPUS_AUTO;
     st->bitrate_bps = 3000+Fs*channels;
     st->application = application;