Commit 4320e52d authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Convert increment + modulo to BASOP

parent c911e9c9
Loading
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -423,7 +423,12 @@ ivas_error ivas_td_binaural_renderer_unwrap_fx(
#endif

#ifdef FIX_FLOAT_1528_5MS_REND_ISM_META_DELAY_COMPENSATION
        *metaSfCounter = ( *metaSfCounter + 1 ) % 4;
        *metaSfCounter = add( *metaSfCounter, 1 );
        IF( EQ_16( *metaSfCounter, 4 ) )
        {
            *metaSfCounter = 0;
            move16();
        }

#endif
        /* Update the listener's location/orientation */