Unverified Commit 5a0601c2 authored by norvell's avatar norvell
Browse files

Merge branch 'main' into basop-2023-td-renderer-distance-attenuation-precision-problem

parents 0d917f13 79c1b6f1
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 ########################### */

+9 −0
Original line number Diff line number Diff line
@@ -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;
}
@@ -195,6 +201,9 @@ ivas_error TDREND_MIX_Init(
    TDREND_SPATIAL_VecInit( hBinRendererTd->Listener_p->Front, 0.0f, 0.0f, -1.0f );
    TDREND_SPATIAL_VecInit( hBinRendererTd->Listener_p->Up, 0.0f, 1.0f, 0.0f );
    TDREND_SPATIAL_VecInit( hBinRendererTd->Listener_p->Right, 1.0f, 0.0f, 0.0f );
#ifdef FIX_FLOAT_1573_POSITION_UPDATE
    hBinRendererTd->Listener_p->PoseUpdated = FALSE;
#endif

    /* Init HR filter set */
    if ( *hHrtfTD == NULL )
+131 B

File added.

No diff preview for this file type.

+4 −1
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ cmake_minimum_required(VERSION 3.10)
project(generate_crend_ivas_tables)

#set(CMAKE_OSX_ARCHITECTURES "x86_64")
#set(CMAKE_GENERATOR_PLATFORM x64)
set(CMAKE_BUILD_TYPE "Debug")
set(IVAS_TRUNK_PATH "${PROJECT_SOURCE_DIR}/../..")
set(IVAS_TRUNK_UTIL_PATH ${IVAS_TRUNK_PATH}/lib_util)
@@ -14,6 +15,8 @@ set(IVAS_TRUNK_COM_PATH ${IVAS_TRUNK_PATH}/lib_com)
set(IVAS_TRUNK_ISAR_PATH ${IVAS_TRUNK_PATH}/lib_isar)
set(IVAS_TRUNK_LC3_PATH ${IVAS_TRUNK_PATH}/lib_lc3plus)
set(IVAS_TRUNK_DEBUG_PATH ${IVAS_TRUNK_PATH}/lib_debug)
#set(Matlab_ROOT_DIR "/Applications/MATLAB_R2020b.app")
#find_package(Matlab REQUIRED COMPONENTS MAT_LIBRARY MX_LIBRARY)

option(USE_MATLAB_ENG "Use matlab engine" OFF) # allows to use sofa file as input to the exe, but on windows requires to register matlab as a com server type in matlab "comserver('register')""
find_package(Matlab REQUIRED)
+131 B

File added.

No diff preview for this file type.

Loading