From 1c5b9e4543903438f8ea8e3108362300f8700db6 Mon Sep 17 00:00:00 2001 From: Erik Norvell Date: Fri, 17 Apr 2026 18:29:32 +0200 Subject: [PATCH] Add FIX_FLOAT_1573_POSITION_UPDATE to resolve issue 1573 --- lib_com/options.h | 1 + lib_rend/ivas_objectRenderer_mix.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/lib_com/options.h b/lib_com/options.h index 6bfe63675..5f86a6d98 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -175,6 +175,7 @@ #define FIX_1574_EFAP_CODE_LINT /* FhG: issue 1574: Code quality fixes in ivas_efap.c */ #define FIX_FLOAT_1569_REND_RENDER_CONFIG_CHECKS /* Nokia: float issue 1569: fix render config checks in renderer */ #define FIX_1571_BFI_COPY_ARRAY_CORRECT_LEN /* FhG: issue 1571: use correct channel signal length for copying signal to buffer */ +#define FIX_FLOAT_1573_POSITION_UPDATE /* Eri: Float issue 1573: For static orientation and listener movement, the PoseUpdated flag is cleared and prevents 5 ms update rate. */ /* ##################### End NON-BE switches ########################### */ diff --git a/lib_rend/ivas_objectRenderer_mix.c b/lib_rend/ivas_objectRenderer_mix.c index 65f30acdd..9eaa766fc 100644 --- a/lib_rend/ivas_objectRenderer_mix.c +++ b/lib_rend/ivas_objectRenderer_mix.c @@ -107,8 +107,14 @@ ivas_error TDREND_MIX_LIST_SetOrient( /* Get listener */ List_p = hBinRendererTd->Listener_p; +#ifdef FIX_FLOAT_1573_POSITION_UPDATE + /* Evaluate the normalized orientation vectors and set pose update flag */ + /* Use OR since the position may have been updated in TDREND_MIX_LIST_SetPos */ + List_p->PoseUpdated |= TDREND_SPATIAL_EvalOrthonormOrient( List_p->Front, List_p->Up, List_p->Right, FrontVec_p, UpVec_p ); +#else /* Evaluate the normalized orientation vectors and set pose update flag */ List_p->PoseUpdated = TDREND_SPATIAL_EvalOrthonormOrient( List_p->Front, List_p->Up, List_p->Right, FrontVec_p, UpVec_p ); +#endif return IVAS_ERR_OK; } -- GitLab