mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
more fun and games with meter and the tempo map: rename Meter::beats_per_bar() to Meter::divisions_per_bar() so that its clear(er) on what it is actually returning; use Meter::divisions_per_bar() in more (all?) places that need it; fix up dragging meter marks by removing the relevant meter section from the map while we drag; operator<< for some tempo-related objects
git-svn-id: svn://localhost/ardour2/branches/3.0@10995 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
6aaf4ea17a
commit
e0cf3b6354
16 changed files with 208 additions and 168 deletions
|
|
@ -3745,7 +3745,7 @@ Editor::get_grid_type_as_beats (bool& success, framepos_t position)
|
|||
|
||||
case SnapToBar:
|
||||
if (_session) {
|
||||
return _session->tempo_map().meter_at (position).beats_per_bar();
|
||||
return _session->tempo_map().meter_at (position).divisions_per_bar();
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue