diff --git a/lib_rend/ivas_dirac_output_synthesis_dec.c b/lib_rend/ivas_dirac_output_synthesis_dec.c index f999f8919aec777e67a9930583e91a1a6e9636a4..cc57f1a64a44424ad6bcd6dfa2f0f6a79d653a3d 100644 --- a/lib_rend/ivas_dirac_output_synthesis_dec.c +++ b/lib_rend/ivas_dirac_output_synthesis_dec.c @@ -5543,7 +5543,7 @@ void ivas_lfe_synth_with_filters_fx( } ELSE { - lfeGain_fx = BASOP_Util_Divide3232_Scale( hMasaLfeSynth->targetEneLfeSmooth_fx, /*EPSILON + */ hMasaLfeSynth->transportEneSmooth_fx, &lfeGain_fx_exp ); + lfeGain_fx = extract_h( BASOP_Util_Divide3232_Scale_cadence( hMasaLfeSynth->targetEneLfeSmooth_fx, L_add( EPSILON_FX, hMasaLfeSynth->transportEneSmooth_fx ), &lfeGain_fx_exp ) ); lfeGain_fx_exp = add( sub( hMasaLfeSynth->transportEneSmooth_q, hMasaLfeSynth->targetEneLfeSmooth_q ), lfeGain_fx_exp ); lfeGain_fx = Sqrt16( lfeGain_fx, &lfeGain_fx_exp ); lfeGain_fx = shl_r( lfeGain_fx, lfeGain_fx_exp ); // Q15