diff options
author | David Robillard <d@drobilla.net> | 2009-02-19 04:12:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-19 04:12:54 +0000 |
commit | 0f71728a925eb8f16c14c74f0dae9fdd53406a20 (patch) | |
tree | 01e056fde9fdcbe90c9bccdc03dce57b4bc043f9 /libs/ardour/ardour/source.h | |
parent | 8f572c3d3f79a86e6b86ccb71f9bee772e6fe738 (diff) |
Interpret tempo time based on read position (not source timeline position which is more or less meaningless).
Move time conversion into the region view rather than the source.
Adapt MIDI (including controllers) regions to the destination tempo when moved (e.g. dragging a region to a location with half the tempo will make the notes twice as long).
git-svn-id: svn://localhost/ardour2/branches/3.0@4635 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/source.h')
-rw-r--r-- | libs/ardour/ardour/source.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/ardour/ardour/source.h b/libs/ardour/ardour/source.h index a388c8db3a..dd86ebe521 100644 --- a/libs/ardour/ardour/source.h +++ b/libs/ardour/ardour/source.h @@ -26,7 +26,6 @@ #include <boost/utility.hpp> #include <sigc++/signal.h> #include <pbd/statefuldestructible.h> -#include <evoral/TimeConverter.hpp> #include <ardour/ardour.h> #include <ardour/session_object.h> @@ -112,10 +111,6 @@ class Source : public SessionObject, public boost::noncopyable void set_allow_remove_if_empty (bool yn); - virtual const Evoral::TimeConverter<double, nframes_t>& time_converter() const { - return Evoral::IdentityConverter<double, nframes_t>(); - } - Glib::Mutex& mutex() { return _lock; } Flag flags() const { return _flags; } |