diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-12-14 20:03:40 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-12-14 20:03:40 +0000 |
commit | e3c67bceb864adc10764e901b87ad8b6677caebd (patch) | |
tree | 98cc093e7255dc658bd839a1bbf6c92f76b58331 /libs/ardour/globals.cc | |
parent | df5e700f90d9fd6c803e8e85c56f3fe8118bc101 (diff) |
implement methods in TempoMap for walking a given distance along a tempo map and returning the resulting time; add a new property, _length_beats, to MidiRegion; use previously mentioned methods to keep _length_beats up to date as regions are moved AND as tempo map changes occur
git-svn-id: svn://localhost/ardour2/branches/3.0@8274 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r-- | libs/ardour/globals.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc index 65125370aa..d5579b47da 100644 --- a/libs/ardour/globals.cc +++ b/libs/ardour/globals.cc @@ -67,6 +67,7 @@ #include "ardour/control_protocol_manager.h" #include "ardour/debug.h" #include "ardour/filesystem_paths.h" +#include "ardour/midi_region.h" #include "ardour/mix.h" #include "ardour/audioplaylist.h" #include "ardour/plugin_manager.h" @@ -247,6 +248,7 @@ ARDOUR::init (bool use_vst, bool try_optimization) make_property_quarks (); SessionObject::make_property_quarks (); Region::make_property_quarks (); + MidiRegion::make_property_quarks (); AudioRegion::make_property_quarks (); RouteGroup::make_property_quarks (); Playlist::make_property_quarks (); |