From 91332abdfcd8f11a57c608d87a46063f62fe8570 Mon Sep 17 00:00:00 2001 From: Marek Szczerba Date: Mon, 11 Aug 2025 16:20:03 +0200 Subject: [PATCH] Using addition with saturation for mixing FDN input signal --- lib_rend/ivas_reverb_fx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_rend/ivas_reverb_fx.c b/lib_rend/ivas_reverb_fx.c index 6c0604ccc..8ff779f51 100644 --- a/lib_rend/ivas_reverb_fx.c +++ b/lib_rend/ivas_reverb_fx.c @@ -1951,7 +1951,7 @@ static void reverb_block_fx( Word32 *pOutput = &ppOutput_fx[j][0]; FOR( ns = 0; ns < inner_bsize; ns++ ) { - pFeedback_input_fx[ns] = ( L_add( Mpy_32_32( gain_matrix_j_i, pOutput[ns] ), pFeedback_input_fx[ns] ) ); + pFeedback_input_fx[ns] = ( L_add_sat( Mpy_32_32( gain_matrix_j_i, pOutput[ns] ), pFeedback_input_fx[ns] ) ); move32(); } } -- GitLab