when moving tempo and metric sections around (or adding new ones), prevent the existe...
authorPaul Davis <paul@linuxaudiosystems.com>
Sat, 7 Jan 2012 15:18:27 +0000 (15:18 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Sat, 7 Jan 2012 15:18:27 +0000 (15:18 +0000)
commit6b297a99280c9abe0c78f3ce2adae2edf2441740
tree15e876eeac14f8fd3a030e2b49fc4f8c0eb2b484
parent5425b7773d3aff2c4aab93d3c08c9836f2d27753
when moving tempo and metric sections around (or adding new ones), prevent the existence of two tempo markers within the same beat, as well as two meter markers within the same bar (though i think this was prevented already by snapping meter sections to beat=1; make round_to_beats() work when dir==0 ("true rounding"); a bit of code cleanup

git-svn-id: svn://localhost/ardour2/branches/3.0@11185 d708f5d6-7413-0410-9779-e7cbd77b26cf
libs/ardour/ardour/tempo.h
libs/ardour/tempo.cc