Regression in AU timeInSamples

In the past as I remember, JUCE AU wrapper did some rounding / adding 0.5 to the double sample position.

But with JUCE7 changes it seems this has been replaced now to plain casting.
From my testing it introduce some regression of the “off by one” sample position. As discussed here:

p.s. - Reason I’ve got into this is that an assertion we had started triggering during use of JUCE7.
It’s minor as we do fixes as they’re mostly needed on VST3. but worth mentioning that now it’s being truncated blindly.

1 Like

bumping this in-case it was missed at some point :slight_smile: