Loading lib_rend/ivas_reverb_fx.c +4 −4 Original line number Diff line number Diff line Loading @@ -2447,10 +2447,10 @@ ivas_error ivas_binaural_reverb_init( } #ifdef FIX_1831_REVERB_REGRESSION temp16 = BASOP_Util_Divide3216_Scale( sampling_rate, CLDFB_NO_CHANNELS_MAX, &s ); temp16 = BASOP_Util_Divide3216_Scale( 48000, CLDFB_NO_CHANNELS_MAX, &s ); temp16 = shl( temp16, s ); // Q0 temp32 = Mult_32_16( roomAcoustics->acousticPreDelay_fx, temp16 ); // Q11 preDelay = shr( add( temp32, shl( 1, 10 ) ), 11 ); // Q0 preDelay = extract_l( L_shr( L_add( temp32, L_shl( 1, 10 ) ), 11 ) ); // Q0 #else preDelay = (int16_t) roundf( 48000.0f * roomAcoustics->acousticPreDelay / CLDFB_NO_CHANNELS_MAX ); #endif Loading Loading
lib_rend/ivas_reverb_fx.c +4 −4 Original line number Diff line number Diff line Loading @@ -2447,10 +2447,10 @@ ivas_error ivas_binaural_reverb_init( } #ifdef FIX_1831_REVERB_REGRESSION temp16 = BASOP_Util_Divide3216_Scale( sampling_rate, CLDFB_NO_CHANNELS_MAX, &s ); temp16 = BASOP_Util_Divide3216_Scale( 48000, CLDFB_NO_CHANNELS_MAX, &s ); temp16 = shl( temp16, s ); // Q0 temp32 = Mult_32_16( roomAcoustics->acousticPreDelay_fx, temp16 ); // Q11 preDelay = shr( add( temp32, shl( 1, 10 ) ), 11 ); // Q0 preDelay = extract_l( L_shr( L_add( temp32, L_shl( 1, 10 ) ), 11 ) ); // Q0 #else preDelay = (int16_t) roundf( 48000.0f * roomAcoustics->acousticPreDelay / CLDFB_NO_CHANNELS_MAX ); #endif Loading