summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-06-19 16:47:02 +0200
committerRobin Gareus <robin@gareus.org>2017-06-21 18:12:58 +0200
commit394bd8f4281b16b1608b36dca28c3ef66e14d90b (patch)
tree32704a773e6053bc4167eb285eb1bd0d1bebcf55 /libs/ardour/ardour
parent16624f31391bae51db770a9e9bd8899e7746b068 (diff)
Set default interpolation type (for new lanes)
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/automation_list.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/ardour/automation_list.h b/libs/ardour/ardour/automation_list.h
index 34f0a99eb1..9810275ed1 100644
--- a/libs/ardour/ardour/automation_list.h
+++ b/libs/ardour/ardour/automation_list.h
@@ -68,7 +68,7 @@ private:
*/
class LIBARDOUR_API AutomationList : public Evoral::ControlList, public PBD::StatefulDestructible
{
- public:
+public:
AutomationList (const Evoral::Parameter& id, const Evoral::ParameterDescriptor& desc);
AutomationList (const Evoral::Parameter& id);
AutomationList (const XMLNode&, Evoral::Parameter id);
@@ -119,7 +119,10 @@ class LIBARDOUR_API AutomationList : public Evoral::ControlList, public PBD::Sta
XMLNode* before () { XMLNode* rv = _before; _before = 0; return rv; }
void clear_history ();
- private:
+
+ ControlList::InterpolationStyle default_interpolation () const;
+
+private:
void create_curve_if_necessary ();
int deserialize_events (const XMLNode&);