Commit 6b82dad7 authored by Marek Szczerba's avatar Marek Szczerba
Browse files

Removed redundant scaling of reverb coloration FFT parameters

parent ec43d4e7
Loading
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -1842,10 +1842,7 @@ ivas_error ivas_reverb_open_fx(
        pFft_wf_filter_ch1_fx[i][1] = L_shl( pFft_wf_filter_ch1_fx[i][1], sub( 31, q_pFft_wf_filter_ch1_fx ) );
        move32();
    }
#ifdef FIX_1053_REVERB_RECONFIGURATION
    Scale_sig32( pFft_wf_filter_ch0_fx, nr_fc_fft_filter, 4 ); /*Scaling ( *hReverb )->fft_filter_color_0.fft_spectrum_fx to Q31*/
    Scale_sig32( pFft_wf_filter_ch1_fx, nr_fc_fft_filter, 4 ); /*Scaling ( *hReverb )->fft_filter_color_1.fft_spectrum_fx to Q31*/
#else
#ifndef FIX_1053_REVERB_RECONFIGURATION
    Scale_sig32( params.pHrtf_inter_aural_coherence_fx, nr_fc_fft_filter, 4 ); /*Scaling ( *hReverb )->fft_filter_color_0.fft_spectrum_fx to Q31*/
    Scale_sig32( params.pFc_fx, nr_fc_fft_filter, 17 );                        /*Scaling ( *hReverb )->fft_filter_color_1.fft_spectrum_fx to Q31*/
#endif