diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-11-19 22:03:50 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-11-19 22:03:50 +0000 |
commit | c7a36486af8994b81b7ae76edfd99adc2b93404d (patch) | |
tree | 4f26d36d89ed18ca29ede0ce466a16af8dd5626d /libs/ardour/ardour/automatable.h | |
parent | 8b3d0f04c13493e6026f4609a4f8138273e01c62 (diff) |
remove unused Automatable::automation_interval and related code
git-svn-id: svn://localhost/ardour2/branches/3.0@13534 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/automatable.h')
-rw-r--r-- | libs/ardour/ardour/automatable.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libs/ardour/ardour/automatable.h b/libs/ardour/ardour/automatable.h index 6e0f7a97b5..762973738b 100644 --- a/libs/ardour/ardour/automatable.h +++ b/libs/ardour/ardour/automatable.h @@ -76,19 +76,6 @@ public: const std::set<Evoral::Parameter>& what_can_be_automated() const { return _can_automate_list; } void what_has_existing_automation (std::set<Evoral::Parameter>&) const; - inline bool should_snapshot (framepos_t now) { - return (_last_automation_snapshot > now - || (now - _last_automation_snapshot) > _automation_interval); - } - - static void set_automation_interval (framecnt_t frames) { - _automation_interval = frames; - } - - static framecnt_t automation_interval() { - return _automation_interval; - } - static const std::string xml_node_name; int set_automation_xml_state (const XMLNode&, Evoral::Parameter default_param); @@ -107,7 +94,6 @@ public: std::set<Evoral::Parameter> _can_automate_list; framepos_t _last_automation_snapshot; - static framecnt_t _automation_interval; private: PBD::ScopedConnectionList _control_connections; ///< connections to our controls' signals |