Commit e3c30094 authored by emerit's avatar emerit
Browse files

Fix tests fails

parent 81d7c6b3
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -211,9 +211,9 @@ ivas_error ivas_dec(
                if ( ( error = ivas_rend_crendProcess( st_ivas->hCrendWrapper,
                                                       IVAS_REND_AUDIO_CONFIG_7_1_4,
                                                       IVAS_REND_AUDIO_CONFIG_BINAURAL_ROOM,
                                                       st_ivas->hDecoderConfig,
                                                       st_ivas->hHeadTrackData,
                                                       &st_ivas->hIntSetup,
                                                       NULL,
                                                       NULL,
                                                       NULL,
                                                       NULL,
                                                       output,
                                                       output_Fs ) ) != IVAS_ERR_OK )
+1 −0
Original line number Diff line number Diff line
@@ -1195,6 +1195,7 @@ ivas_error ivas_init_decoder(
        {
            return error;
        }
        st_ivas->binaural_latency_ns = st_ivas->hCrendWrapper->binaural_latency_ns;
#else
        if ( ivas_crend_open( st_ivas ) != IVAS_ERR_OK )
        {
+1 −0
Original line number Diff line number Diff line
@@ -1095,6 +1095,7 @@ static ivas_error ivas_ism_bitrate_switching(
            {
                return error;
            }
            st_ivas->binaural_latency_ns = st_ivas->hCrendWrapper->binaural_latency_ns;
#else
            ivas_crend_open( st_ivas );
#endif
+1 −0
Original line number Diff line number Diff line
@@ -1125,6 +1125,7 @@ static ivas_error ivas_mc_dec_reconfig(
                {
                    return error;
                }
                st_ivas->binaural_latency_ns = st_ivas->hCrendWrapper->binaural_latency_ns;
            }
#else
        }
+7 −0
Original line number Diff line number Diff line
@@ -1404,10 +1404,17 @@ ivas_error ivas_rend_initCrend(

    /* set BRIR flag */
    use_brir = false;
#ifdef FIX_197_CREND_INTERFACE
    if ( ( ( hRendCfg != NULL ) && hRendCfg->roomAcoustics.use_brir ) || ( ( hRendCfg == NULL ) && ( outConfig == IVAS_REND_AUDIO_CONFIG_BINAURAL_ROOM ) ) )
    {
        use_brir = true;
    }
#else
    if ( ( hRendCfg != NULL && hRendCfg->roomAcoustics.use_brir ) || outConfig == IVAS_REND_AUDIO_CONFIG_BINAURAL_ROOM )
    {
        use_brir = true;
    }
#endif


    if ( ( error = getAudioConfigNumChannels( inConfig, &nchan_in ) ) != IVAS_ERR_OK )