Unverified Commit 4e3a0c1b authored by norvell's avatar norvell
Browse files

Fix for non-diegetic panning

parent 63f843f1
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -476,11 +476,7 @@ void TDREND_SRC_REND_UpdateFiltersFromSpatialParams_fx(
        move32();
        set32_fx( hrf_left, 0, *filterlength );
        set32_fx( hrf_right, 0, *filterlength );
#ifdef FIX_BASOP_2023_TDREND_DISTATT_PRECISION
        hrf_left[0] = L_shr( L_add( L_shl( SrcSpatial_p->Pos_p_fx[1], 3 ), ONE_IN_Q25 ), 1 ); // Q25
#else
        hrf_left[0] = L_shr( L_add( SrcSpatial_p->Pos_p_fx[1], ONE_IN_Q25 ), 1 ); // Q25
#endif
        move32();
        hrf_right[0] = L_sub( ONE_IN_Q25, hrf_left[0] ); // Q25
        move32();