Unverified Commit 65a98095 authored by norvell's avatar norvell
Browse files

Minor fixes

parent 1e34b300
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1650,7 +1650,7 @@ static void resetHeadRotation(
        pPos[i].y_fx = 0;
        pPos[i].z_fx = 0;
#ifdef FIX_BASOP_2023_TDREND_DISTATT_PRECISION
        pPos[i].q_fact = 22;
        pPos[i].q_fact = 31;
#else
        pPos[i].q_fact = 25;
#endif
+8 −0
Original line number Diff line number Diff line
@@ -1039,10 +1039,18 @@ ivas_error ivas_td_binaural_renderer_ext_fx(
        FOR( Word16 i = 0; i < 3; i++ )
        {
            pTDRend->hBinRendererTd->Listener_p->Pos_fx[i] = L_shr( pTDRend->hBinRendererTd->Listener_p->Pos_fx[i], sub( pTDRend->hBinRendererTd->Listener_p->Pos_q, pos_q ) );
#ifdef FIX_BASOP_2023_TDREND_DISTATT_PRECISION
            move32();
#else
            pTDRend->hBinRendererTd->Listener_p->Pos_q = pos_q;
            move32();
            move16();
#endif
        }
#ifdef FIX_BASOP_2023_TDREND_DISTATT_PRECISION
        pTDRend->hBinRendererTd->Listener_p->Pos_q = pos_q;
        move16();
#endif
    }

    IF( NE_32( ( error = ivas_td_binaural_renderer_unwrap_fx( hReverb, transport_config, pTDRend->hBinRendererTd, num_src, lfe_idx, ivas_format, hIsmMetaData, *hCombinedOrientationData,
+1 −0
Original line number Diff line number Diff line
@@ -79,6 +79,7 @@ void TDREND_MIX_LIST_SetPos_fx(
        Copy32( Pos_p, Listener_p->Pos_fx, 3 ); // Q Pos_fx->q_fact
#ifdef FIX_BASOP_2023_TDREND_DISTATT_PRECISION
        Listener_p->Pos_q = Pos_q;
        move16();
#endif

        /* Set pose update flag */