fix call to ::bbt_at() inside LV2 plugin
This commit is contained in:
parent
092a454648
commit
552484978c
@ -3118,7 +3118,7 @@ LV2Plugin::connect_and_run(BufferSet& bufs,
|
||||
* so it needs to be realative to that.
|
||||
*/
|
||||
_current_bpm = metric.tempo().note_types_per_minute();
|
||||
Temporal::BBT_Time bbt (metric.bbt_at (start));
|
||||
Temporal::BBT_Time bbt (metric.bbt_at (start0));
|
||||
double beatpos = (bbt.bars - 1) * metric.divisions_per_bar()
|
||||
+ (bbt.beats - 1)
|
||||
+ (bbt.ticks / Temporal::ticks_per_beat);
|
||||
|
Loading…
Reference in New Issue
Block a user