Commit e1681e27 authored by fotopoulou's avatar fotopoulou
Browse files

replace #1 with defines

parent c151fe30
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -67,14 +67,14 @@ void stereo_tcx_init_dec(
{
    TCX_LTP_DEC_HANDLE hTcxLtpDec = st->hTcxLtpDec;
    TCX_DEC_HANDLE hTcxDec = st->hTcxDec;
#if 1
#ifdef NONBE_FIX_778_TNS_UNFIED_STEREO_MSAN
    int16_t prev_fIsTNSAllowed;
#endif

    st->rate_switching_init = 0;
    st->m_frame_type = ACTIVE_FRAME;
    st->core_brate = st->total_brate;
#if 1
#ifdef NONBE_FIX_778_TNS_UNFIED_STEREO_MSAN
    prev_fIsTNSAllowed = st->hTcxCfg->fIsTNSAllowed;
#endif

@@ -106,7 +106,7 @@ void stereo_tcx_init_dec(
        st->hTcxCfg->fIsTNSAllowed = getTnsAllowed( st->bits_frame_nominal * FRAMES_PER_SEC, st->igf, st->element_mode );
    }

#if 1
#ifdef NONBE_FIX_778_TNS_UNFIED_STEREO_MSAN
    if ( !prev_fIsTNSAllowed && st->hTcxCfg->fIsTNSAllowed && st->element_mode == IVAS_CPE_DFT )
    {
        InitTnsConfigs( st->bwidth, st->hTcxCfg->tcx_coded_lines, st->hTcxCfg->tnsConfig, st->hIGFDec->infoIGFStopFreq, st->bits_frame_nominal * FRAMES_PER_SEC, st->element_mode, MCT_flag );