Commit 3c0f26ca authored by multrus's avatar multrus
Browse files

simplify initialization with input_FS / FRAMES_PER_SEC

parent 6a8654c6
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1188,7 +1188,7 @@ static ivas_error ivas_mc_enc_reconfig_fx(
                return ( IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "Can not allocate memory for Transient Detection\n" ) );
            }

            InitTransientDetection_ivas_fx( shl( div_l( st->input_Fs, FRAMES_PER_SEC ), 1 ), NS2SA_FX2( st->input_Fs, DELAY_FIR_RESAMPL_NS ), st->hTranDet, 0 );
            InitTransientDetection_ivas_fx( Mult_32_16( st->input_Fs, INV_FRAME_PER_SEC_Q15 ), NS2SA_FX2( st->input_Fs, DELAY_FIR_RESAMPL_NS ), st->hTranDet, 0 );
        }

        IF( st->hIGFEnc == NULL )