I have a problem…
I do getPlayHead()->getCurrentPosition(currentPositionInfo) inside my AudioProcessor class (is it normale that if I call it from the constructor Plugin Host crashes?). But then currentPositionInfo.bpm is always 0. It seems like Plugin Host doesn’t define a default BPM. Can this happen in mainstream hosts?
In this case it should be better for me to include a check and if it is 0 I set it to something.