Loading lib_rend/ivas_reverb_fx.c +2 −1 Original line number Diff line number Diff line Loading @@ -669,7 +669,8 @@ static ivas_error compute_t60_coeffs_fx( } ELSE { tmp = shr( tmp, add( e, 1 ) ); //tmp = shr( tmp, add( e, 1 ) ); -> does not work, because e is computed as an offset from 20?? Therefore the offset must be adjusted wrt 20 tmp = shr( tmp, sub( 5, e ) );//scaling tmp to Q15 target_gains_db_fx[bin_idx] = mult( shr( min120q8, 1 ), tmp ); // Q8 } } Loading Loading
lib_rend/ivas_reverb_fx.c +2 −1 Original line number Diff line number Diff line Loading @@ -669,7 +669,8 @@ static ivas_error compute_t60_coeffs_fx( } ELSE { tmp = shr( tmp, add( e, 1 ) ); //tmp = shr( tmp, add( e, 1 ) ); -> does not work, because e is computed as an offset from 20?? Therefore the offset must be adjusted wrt 20 tmp = shr( tmp, sub( 5, e ) );//scaling tmp to Q15 target_gains_db_fx[bin_idx] = mult( shr( min120q8, 1 ), tmp ); // Q8 } } Loading