Commit 9b3ca0a2 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Fix for high MLD cases for MASA format

[x] Scaling corrected in ivas_dirac_dec_compute_diffuse_proto.
parent 252d3788
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4277,7 +4277,7 @@ void ivas_dirac_dec_compute_diffuse_proto_fx(
    Scale_sig32( h_dirac_output_synthesis_state->proto_diffuse_buffer_f_fx, diffuse_start, sub( old_diff_e, new_diff_e ) );
#ifdef MSAN_FIX
    Scale_sig32( h_dirac_output_synthesis_state->proto_diffuse_buffer_f_fx + diffuse_start,
                 sub( 2 * num_freq_bands_diff * hDirACRend->hOutSetup.nchan_out_woLFE, diffuse_start ), sub( diff_e, new_diff_e ) );
                 i_mult( shl( num_freq_bands_diff, 1 ), hDirACRend->hOutSetup.nchan_out_woLFE ), sub( diff_e, new_diff_e ) );
#else
    Scale_sig32( h_dirac_output_synthesis_state->proto_diffuse_buffer_f_fx + diffuse_start,
                 sub( h_dirac_output_synthesis_state->proto_diffuse_buffer_f_len, diffuse_start ), sub( diff_e, new_diff_e ) );