Commit 415adc7f authored by malenov's avatar malenov
Browse files

cleanup

parent 989db2c9
Loading
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -1585,17 +1585,6 @@ void stereo_switching_dec(
        sts[1]->hTcxDec->conceal_eof_gain = sts[0]->hTcxDec->conceal_eof_gain;
    }

//#ifdef NONBE_FIX_1110_STEREO_DTX_BRATE_SWITCHING
    /* In case of DTX in bitrate switching, there can happen that last_core_brate = 0/2400 from MDCT stereo CNG */
    //if ( hCPE->element_mode == IVAS_CPE_TD && hCPE->last_element_mode != IVAS_CPE_TD )
    //{
    //    if ( sts[1]->last_core_brate == FRAME_NO_DATA || sts[1]->last_core_brate == SID_2k40 )
    //    {
    //        sts[1]->last_core_brate = sts[0]->last_core_brate;
    //    }
    //}
//#endif

    return;
}

+0 −11
Original line number Diff line number Diff line
@@ -836,16 +836,5 @@ void stereo_switching_enc(
        sts[1]->hTcxCfg->tcx_curr_overlap_mode = sts[0]->hTcxCfg->tcx_curr_overlap_mode;
    }

//#ifdef NONBE_FIX_1110_STEREO_DTX_BRATE_SWITCHING
//    /* In case of DTX in bitrate switching, there can happen that last_core_brate = 0/2400 from MDCT stereo CNG */
//    if ( sts[0]->Opt_DTX_ON && hCPE->element_mode == IVAS_CPE_TD && hCPE->last_element_mode != IVAS_CPE_TD )
//    {
//        if ( sts[1]->last_core_brate == FRAME_NO_DATA || sts[1]->last_core_brate == SID_2k40 )
//        {
//            sts[1]->last_core_brate = sts[0]->last_core_brate;
//        }
//    }
//#endif

    return;
}