Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51157baa authored by Andy Hung's avatar Andy Hung
Browse files

AudioResampler: Fix intrinsic integer mode for 64b

For legacy compatibility in 64 bit resampling mode (doubly
unlikely to be used, but we should still fix it).

Test: Native audioresampler tests on Pixel XL
Bug: 27174404
Change-Id: Ia65a0c6aa4255f0fb62f16d05a225ded58373f8e
parent ccbba6e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -155,8 +155,8 @@ static inline void ProcessNeonIntrinsic(int32_t* out,
            accum2 = vmlal_s16(accum2, vget_low_s16(negSamp.val[1]), vget_low_s16(negCoef));
            accum2 = vmlal_s16(accum2, vget_high_s16(negSamp.val[1]), vget_high_s16(negCoef));
            sP -= 16;
        }
        } break;
        }
    } while (count -= 8);

    // multiply by volume and save