use a very very slightly more convenient and possibly more correct method for LV2 bpm port
This commit is contained in:
parent
51ebb143de
commit
b74fb262fa
@ -2649,8 +2649,7 @@ LV2Plugin::connect_and_run(BufferSet& bufs,
|
||||
|
||||
if (_bpm_control_port) {
|
||||
|
||||
/* note that this is not necessarily quarter notes */
|
||||
const double bpm = tmap->tempo_at (timepos_t (start0)).note_types_per_minute();
|
||||
const double bpm = tmap->quarters_per_minute_at (timepos_t (start0));
|
||||
|
||||
if (*_bpm_control_port != bpm) {
|
||||
AutomationCtrlPtr c = get_automation_control (_bpm_control_port_index);
|
||||
|
Loading…
Reference in New Issue
Block a user