Commit 49ed75c1 authored by Jan Kiene's avatar Jan Kiene
Browse files

add comments

parent 045a3da1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -671,6 +671,7 @@ void open_decoder_LPD(
    st->second_last_tns_active = 0;
    st->second_last_core = -1;
#ifdef SET_TNS_FLAG_IN_EVERY_FRAME
    /* TODO: also apply for MCT modes, once issue #24 is solved */
    if ( st->hTcxCfg != NULL && !MCT_flag && st->element_mode != EVS_MONO )
    {
        st->hTcxCfg->fIsTNSAllowed = getTnsAllowed( is_init ? total_brate : st->bits_frame_nominal * FRAMES_PER_SEC, st->igf, st->element_mode, st->mct_chan_mode );
+1 −0
Original line number Diff line number Diff line
@@ -97,6 +97,7 @@ void stereo_tcx_init_dec(
    hTcxDec->tcx_lpc_shaped_ari = getTcxLpcShapedAri( st->bits_frame_nominal * FRAMES_PER_SEC, st->rf_flag, st->element_mode );
    st->igf = getIgfPresent( st->element_mode, st->bits_frame_nominal * FRAMES_PER_SEC, st->bwidth, st->rf_flag, st->mct_chan_mode );
#ifdef SET_TNS_FLAG_IN_EVERY_FRAME
    /* TODO: also apply for MCT modes, once issue #24 is solved */
    if ( !MCT_flag && st->element_mode != EVS_MONO )
    {
        st->hTcxCfg->fIsTNSAllowed = getTnsAllowed( st->bits_frame_nominal * FRAMES_PER_SEC, st->igf, st->element_mode, st->mct_chan_mode );