Make editing of meter work at the current position
authorColin Fletcher <colin.m.fletcher@googlemail.com>
Sun, 8 Mar 2015 15:48:27 +0000 (15:48 +0000)
committerColin Fletcher <colin.m.fletcher@googlemail.com>
Mon, 9 Mar 2015 19:17:53 +0000 (19:17 +0000)
commitf7a2df1c9a8c540f7e5778561c8527c525874b84
treeeb7b15cc2056b492f002317d0da5cca251087245
parent99e15d94025b7ce9046b3e8d4c4e7b2e1635df7a
Make editing of meter work at the current position

Add a function TempoMap::meter_section_at(), similar to
TempoMap::tempo_section_at() but returning the meter section at the given
position, and use this to make editing meter changes from the main clock
work on the meter that's in effect at the current position.
gtk2_ardour/main_clock.cc
libs/ardour/ardour/tempo.h
libs/ardour/tempo.cc