Commit 68b58421 authored by fotopoulou's avatar fotopoulou
Browse files

change to left shift operation for consistency with the previous case

parent 59f2d9e1
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -949,7 +949,11 @@ void stereo_dft_dec_smooth_parameters_fx(
                }
                ELSE IF( GT_32( L_sub( hStereoDft->ipd_xfade_prev_fx, hStereoDft->gipd_fx[add( k, k_offset )] ), EVS_PI_FX_Q27 ) )
                {
#ifndef FIX_874_INCREASE_ITD_PRECISION_A
                    hStereoDft->ipd_xfade_target_fx = L_add( hStereoDft->gipd_fx[add( k, k_offset )], L_shl( EVS_PI_FX_Q27, 1 ) );
#else
                    hStereoDft->ipd_xfade_target_fx = L_add( hStereoDft->gipd_fx[add( k, k_offset )],  EVS_PI_FX_Q27 <<1  );
#endif
                    move32();
                    hStereoDft->ipd_xfade_step_fx = BASOP_Util_Divide3232_Scale( L_sub( hStereoDft->ipd_xfade_target_fx, hStereoDft->ipd_xfade_prev_fx ), L_shl( L_sub( STEREO_DFT_ITD_CNG_XFADE, hStereoDft->ipd_xfade_counter ), Q24 ), &q_val );
                    q_val = add( q_val, Q9 ); /* Q27 - (Q15 - q_val + (-3))*/