Commit 72830e8a authored by emerit's avatar emerit
Browse files

fix FIX_CREND_SIMPLIFY_CODE disabled

parent 31fbb2a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1626,7 +1626,7 @@ static ivas_error IVAS_DEC_Setup(
         * - reconfigure the decoder when the number of TC or IVAS total bitrate change
         *----------------------------------------------------------------*/

#if 1
#if FIX_HRTF_LOAD
        if ( st_ivas->bfi == 0 )
        {
            if ( ( error = ivas_dec_setup( st_ivas ) ) != IVAS_ERR_OK )
+7 −6
Original line number Diff line number Diff line
@@ -207,8 +207,10 @@ void TDREND_MIX_Dealloc_fx(
            free( hBinRendererTd->HrFiltSet_p->ModelParams.AlphaR_dyn_fx );

            free( hBinRendererTd->HrFiltSet_p->ModelParams.elevBsShape_dyn_fx );
        }
#endif


        IF( EQ_16( hBinRendererTd->HrFiltSet_p->ModelParams.modelROM, 1 ) )
        {
            free( hBinRendererTd->HrFiltSet_p );
@@ -216,7 +218,6 @@ void TDREND_MIX_Dealloc_fx(
            *hBinRendererTd->pHrFiltSet_p = NULL;
        }
    }
    }

    return;
}
+1 −1
Original line number Diff line number Diff line
@@ -589,7 +589,7 @@ static ivas_error TDREND_LoadBSplineBinary(
    fread( &HrFiltSet_p->latency_s_fx, 1, sizeof( Word32 ), f_hrtf );
#else
    fread( &tmp32, 1, sizeof( Word32 ), f_hrtf );
    HrFiltSet_p->latency_s_fx = L_shr_r( Mpy_32_32_r( tmp32, 1000000000 ), Q31 -  factor_Q ) );
    HrFiltSet_p->latency_s_fx = L_shr_r( Mpy_32_32_r( tmp32, 1000000000 ), Q31 - factor_Q );
#endif
    model = &( HrFiltSet_p->ModelParams );