Unverified Commit 1e34b300 authored by norvell's avatar norvell
Browse files

Fix min->s_min

parent 7745411e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -340,7 +340,7 @@ void TDREND_SRC_REND_UpdateFiltersFromSpatialParams_fx(

        /* Absolute position */
#ifdef FIX_BASOP_2023_TDREND_DISTATT_PRECISION
        pos_q = min( SrcSpatial_p->q_Pos_p, Listener_p->Pos_q );
        pos_q = s_min( SrcSpatial_p->q_Pos_p, Listener_p->Pos_q );
        Copy_Scale_sig32( SrcSpatial_p->Pos_p_fx, Src_p_aligned, 3, sub( pos_q, SrcSpatial_p->q_Pos_p ) );
        Copy_Scale_sig32( Listener_p->Pos_fx, Lis_p_aligned, 3, sub( pos_q, Listener_p->Pos_q ) );
        TDREND_SPATIAL_VecMapToNewCoordSystem_fx( Src_p_aligned, Lis_p_aligned, Listener_p->Front_fx, Listener_p->Up_fx, Listener_p->Right_fx, ListRelPos, ListRelPosAbs );