My JUCE VST2 plugin syncs fine in Logic and Cubase but won’t follow the playhead in Sibelius. getPlayHead() is called, but CurrentPositionInfo doesn’t update correctly.
CurrentPositionInfo is deprecated. The recommended approach is to call AudioPlayHead::getPosition(), which returns an optional<PositionInfo> which will be valid if the host provides position info, or null otherwise. Once you have a PositionInfo, you can call PositionInfo::getTimeInSamples() to determine its time. Note that this function also returns an optional value, because certain hosts provide only a subset of the possible position information.
Actually, thats exactly what we are doing, the weird thing is that the optional returns that has a value, but when we get the value is not whats expected as mentioned avobe.
Probably Sibelius team, for some reason, decided not to report the time I assume