Commit 674ec869 authored by Manuel Jander's avatar Manuel Jander
Browse files

Add one missing scale adaptation of mem_preemph16k_fx.

parent f3c92061
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1096,6 +1096,10 @@ ivas_error ivas_compute_core_buffers_fx(
#endif
            }
            // PREEMPH_FX(new_inp_16k_fx - STEREO_DFT_OVL_16k, PREEMPH_FAC_16k, L_FRAME16k, &(st->mem_preemph16k_fx));
#ifdef NONBE_FIX_ISSUE_2206
            st->mem_preemph16k_fx = shl( st->mem_preemph16k_fx, sub( Q_old_inp_16k, -1 ) );
            move16();
#endif
            PREEMPH_32FX( new_inp_16k_fx - STEREO_DFT_OVL_16k, sig_out, PREEMPH_FAC_16k, L_FRAME16k, &( st->mem_preemph16k_fx ) ); /* Q(-1) */
            tmp_fx = st->mem_preemph16k_fx;
            move16();