Commit ab852178 authored by Marek Szczerba's avatar Marek Szczerba
Browse files

Scaling the coloration FFT

parent 5e106f0a
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1842,7 +1842,10 @@ 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();
    }
#ifndef FIX_1053_REVERB_RECONFIGURATION
#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
    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