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:
Paul Davis 2011-12-13 02:46:36 +00:00
parent 6aaf4ea17a
commit e0cf3b6354
16 changed files with 208 additions and 168 deletions

View file

@ -5475,7 +5475,9 @@ Editor::define_one_bar (framepos_t start, framepos_t end)
we have frames per bar, and beats per bar, so ...
*/
double frames_per_beat = length / m.beats_per_bar();
/* XXXX METER MATH */
double frames_per_beat = length / m.divisions_per_bar();
/* beats per minute = */