Commit ea214070 authored by emerit's avatar emerit
Browse files

fix code when some switchs are desactivated

parent aa917d41
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1628,7 +1628,7 @@ static ivas_error IVAS_DEC_Setup(

        IF( st_ivas->bfi == 0 )
        {
#ifdef FIX_CREND_SIMPLIFY_CODE
#ifdef FIX_HRTF_LOAD
            IF( ( error = ivas_dec_setup( st_ivas ) ) != IVAS_ERR_OK )
#else
            IF( ( error = ivas_dec_setup( st_ivas, nSamplesRendered, data ) ) != IVAS_ERR_OK )
+1 −1
Original line number Diff line number Diff line
@@ -1873,7 +1873,7 @@ static ivas_error create_fastconv_HRTF_from_rawdata(
    ( *hHRTF )->FASTCONV_latency_s_Q_fx = Q31 - factorQ;
    ( *hHRTF )->FASTCONV_latency_s_fx = latency_s;
#else
    ( *hHRTF )->FASTCONV_latency_s_fx = L_shr_r( Mpy_32_32_r( latency_s, 1000000000 ), Q31 -  factorQ ) );
    ( *hHRTF )->FASTCONV_latency_s_fx = L_shr_r( Mpy_32_32_r( latency_s, 1000000000 ), Q31 - factorQ );
    ;
#endif
    ( *hHRTF )->n_channels = nbchan;