ref: ebece6337320f9605b8cc0debd5742e15415ad6e
parent: 6d5af483beb9f780524045cbca4d19b79bfe4361
author: Jean-Marc Valin <[email protected]>
date: Sat Oct 8 20:29:26 EDT 2011
Fixes a stereo SILK->CELT switching bug Making sure not to abruptly "de-collapse" the stereo for such transitions
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -895,7 +895,7 @@
if (st->mode != MODE_HYBRID || st->stream_channels==1)
- st->hybrid_stereo_width_Q14 = st->silk_mode.stereoWidth_Q14 = 1<<14;
+ st->silk_mode.stereoWidth_Q14 = 1<<14;
if( st->channels == 2 ) {
/* Apply stereo width reduction (at low bitrates) */
if( st->hybrid_stereo_width_Q14 < (1 << 14) || st->silk_mode.stereoWidth_Q14 < (1 << 14) ) {