Commit ecc50690 authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Add scaling to McMASA to STEREO decoding path

parent 7f18f5d5
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -741,6 +741,11 @@ ivas_error ivas_jbm_dec_tc(
            if ( st_ivas->sba_dirac_stereo_flag ) /* use the flag to trigger the DFT upmix */
            {
                ivas_sba_dirac_stereo_dec( st_ivas, p_output, output_frame, 1 );
#ifdef NONBE_FIX_1165_STATIC_SCAL_MCMASA

                /* Revert scaling done to the downmix in the encoder */
                ivas_mcmasa_gain_umx( st_ivas, p_output, output_frame );
#endif
            }

            /* HP filtering */