diff --git a/lib_com/options.h b/lib_com/options.h index 5a4cca34ef78e8a83dcbd12351aea06e3dee3fb9..58fb82b183b7936ebbc0a118bea63348100baef8 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -158,11 +158,10 @@ //#define FIX_CREND_FIX_POINT_HRTF_FILE_FORMAT /* Orange issue 1031 : new fix point hrtf binary file format */ //#define FIX_CREND_SIMPLIFY_CODE /* Ora : simplify line code in crend */ #define FLOAT_FIX_POINT_HRTF_FILE_FORMAT /* allows reading floation or fix point hrtf binary file format */ - - #define FIX_1101_CLEANING_JBM_CALL /* VA: issue 1101: remove obsolete call of ivas_jbm_dec_tc_buffer_open() */ #define FIX_1053_AEID_FILE_TEST /* Philips: Tests for the -aeid file and fix for memory error */ #define FIX_1121_MASA_DESCRIPTOR /* VA: issue 1121: Define 'ivasmasaFormatDescriptor' at one common place */ +#define FIX_1113_CLDFB_REND_IN_ISAR /* issue 1113: fix the use of CLDFB renderer in split-rendering at the external renderer */ /* #################### End BE switches ################################## */ diff --git a/lib_dec/ivas_binRenderer_internal.c b/lib_dec/ivas_binRenderer_internal.c index 7bbc09825f6799ec1eb7245dfc1705a67cb9a6d5..1ed443d61841d2105ede0322284a9d5f55e6fa77 100644 --- a/lib_dec/ivas_binRenderer_internal.c +++ b/lib_dec/ivas_binRenderer_internal.c @@ -1014,7 +1014,11 @@ ivas_error ivas_rend_openCldfbRend( return error; } +#ifdef FIX_1113_CLDFB_REND_IN_ISAR + pCldfbRend->binaural_latency_ns = (int32_t) ( pCldfbRend->hHrtfFastConv->FASTCONV_HOA3_latency_s * 1000000000.f ); +#else pCldfbRend->binaural_latency_ns = (int32_t) ( FASTCONV_HOA3_latency_s * 1000000000.f ); +#endif hBinRenderer->hReverb = NULL; hBinRenderer->hEFAPdata = NULL;