From 7eadc684a583e7750dbbe13dba9c1249e3f47fa0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 29 Sep 2008 01:22:21 +0000 Subject: Plugin automation fixes from torbenh. git-svn-id: svn://localhost/ardour2/branches/3.0@3826 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/automatable.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/ardour/automatable.cc') diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc index ea14fa648b..c9f774d441 100644 --- a/libs/ardour/automatable.cc +++ b/libs/ardour/automatable.cc @@ -28,6 +28,7 @@ #include #include #include +#include #include "i18n.h" @@ -394,6 +395,8 @@ Automatable::control_factory(const Evoral::Parameter& param) Evoral::Control* control = NULL; if (param.type() >= MidiCCAutomation && param.type() <= MidiChannelPressureAutomation) { control = new MidiTrack::MidiControl((MidiTrack*)this, param); + } else if (param.type() == PluginAutomation) { + control = new PluginInsert::PluginControl((PluginInsert*)this, param); } else { control = new AutomationControl(_a_session, param); } -- cgit v1.2.3