diff --git a/scripts/ivas_pytests/tests/unit_tests/crend/ivas_crend_utest_utils.c b/scripts/ivas_pytests/tests/unit_tests/crend/ivas_crend_utest_utils.c index c8772f7ec1471e5f2ca30bb528efc74e87fecd9f..f58454cbdf350e84ee62410cdcef5a0ac918d989 100644 --- a/scripts/ivas_pytests/tests/unit_tests/crend/ivas_crend_utest_utils.c +++ b/scripts/ivas_pytests/tests/unit_tests/crend/ivas_crend_utest_utils.c @@ -1170,11 +1170,14 @@ ivas_result_t ivas_common_mixer_renderer( ivas_crend_io_params_t *pIo_params, fl } #endif /* test rounding error */ - float binaural_latencys_fastconv_s[3] = { FASTCONV_HRIR_latency_s, FASTCONV_BRIR_latency_s, FASTCONV_BRIR_latency_s }; + float binaural_latencys_fastconv_s[3]; float binaural_latencys_crend_s[3] = { 1.f / 48000.f, 2.f / 48000.f, 3.f / 48000.f }; float binaural_latencys_td_s[3] = { BINAURAL_TD_LATENCY_S, BINAURAL_TD_LATENCY_S + 1.f / 48000.f, BINAURAL_TD_LATENCY_S + 2.f / 48000.f }; int32_t err = 0, err_lfe = 0, err_dec = 0; + binaural_latencys_fastconv_s[0] = FASTCONV_HRIR_latency_s; + binaural_latencys_fastconv_s[1] = FASTCONV_BRIR_latency_s; + binaural_latencys_fastconv_s[2] = FASTCONV_BRIR_latency_s; err = ivas_check_rounding( binaural_latencys_fastconv_s, 0, 0, &err_lfe, &err_dec, 0 ); #ifdef FIX_I59_CREND printf( "\nerr_lfe = %d err_dec = %d", err_lfe, err_dec );