Commit c841d5d2 authored by norvell's avatar norvell
Browse files

Merge branch 'missing-part-of-USAN-phase-ecu-fix' into 'ivas-float-update'

Missing part of FIX_1179_USAN_PHASEECU

See merge request !2378
parents 4cc5a58b bb93a7af
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2155,7 +2155,11 @@ static void hq_phase_ecu(
    }
    else
    {
#ifdef FIX_1179_USAN_PHASEECU
        *time_offs = (int16_t) ( *time_offs + output_frame ); /* cast added for USAN, "+=" avoided as it may creat a truncation from int to int16_t  */
#else
        *time_offs += output_frame;
#endif
        if ( *time_offs <= 0 )
        {
            /* detect wrap around  of st->time_offs */