Commit 425e7a52 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_FLOAT_1573_POSITION_UPDATE

parent 13c2f904
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -175,7 +175,6 @@
#define FIX_1521_SBA_LOUDNESS_STEREO                    /* FhG: issue 1521: Fix loudness for SBA to stereo rendering */
#define FIX_2500_RENDCONF_REFACTOR                      /* Eri: Basop issue #2500: Renderer configuration range check before conversion to fixed point. Harmonize between BASOP/float */
#define FIX_BASOP_2023_TDREND_DISTATT_PRECISION         /* Eri: Basop issue 2023: Distance attenuation scaling, synch with BASOP updates and adding clamping of distance att input and listener position  */
#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. */
#define FIX_1576_LCLD_CRASH_DIFFERENT_CODEC_ISAR_FRAME_SIZE  /* Dolby: float issue 1576: fix for crash in LCLD mode when codec frame size is less than isar frame size */
#define FIX_1452_DEFAULT_REVERB                         /* Nokia/Philips/FhG: Fix default room presets and their usage in renderer */
#define FIX_1559                                        /* Eri/FhG: fix for Issue 1559 in FD CNG with bitrate/bw switching */
+0 −7
Original line number Diff line number Diff line
@@ -107,14 +107,9 @@ 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;
}
@@ -201,9 +196,7 @@ 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 )