mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
midi clock: provide option to quantize incoming BPM values
This commit is contained in:
parent
dbd779bf85
commit
27205c7639
2 changed files with 5 additions and 3 deletions
|
|
@ -843,6 +843,7 @@ TempoMap::add_meter (MeterPoint* mp)
|
|||
void
|
||||
TempoMap::change_tempo (TempoPoint & p, Tempo const & t)
|
||||
{
|
||||
std::cerr << "overwrite " << ((Tempo*)&p)->note_types_per_minute() << " with " << t.note_types_per_minute() << std::endl;
|
||||
*((Tempo*)&p) = t;
|
||||
reset_starting_at (p.sclock());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue