Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AudioEngine: fix application of m_fNextBpm
previously, `AudioEngine::getBpmAtColumn` returned `m_fNextBpm` in case neither an external JACK timebase controller nor the `Timeline` is used. This is potentially harmful since `m_fNextBpm` was intended to be a transient property until the `AudioEngine` applied this tempo - requested by the user via either UI interaction or MIDI/OSC message - during the next processing cycle in `updateBpmAndTickSize`. In case `getBpmAtColumn` was used inbetween setting `m_fNextBpm` and the next processing cycle, a wrong value would be returned. And since this function is part of `TransportPosition::computeFrameFromTick` and `computeTickFromFrame` things can get messy (and got messy within the JACK integration tests)
- Loading branch information