summaryrefslogtreecommitdiff
path: root/libs/ardour/automatable.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-03 02:37:24 +0000
committerDavid Robillard <d@drobilla.net>2007-07-03 02:37:24 +0000
commit0da29770276604a7f0a367cd8eb5ff2fff7a2233 (patch)
tree87f37c252457eab66c0806e097a2d147d8d66916 /libs/ardour/automatable.cc
parentef0b9a740996c432a6a96180814d4f8d0ee16842 (diff)
Pan automation/serialization fixes.
"Live" Midi CC sending from Midi CC automation track controllers. git-svn-id: svn://localhost/ardour2/trunk@2097 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/automatable.cc')
-rw-r--r--libs/ardour/automatable.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc
index 5b31904615..ab45edee03 100644
--- a/libs/ardour/automatable.cc
+++ b/libs/ardour/automatable.cc
@@ -167,11 +167,11 @@ Automatable::control (ParamID parameter, bool create_if_missing)
return i->second;
} else if (create_if_missing) {
- assert(parameter.type() != GainAutomation);
boost::shared_ptr<AutomationList> al (new AutomationList (
parameter, FLT_MIN, FLT_MAX, default_parameter_value (parameter)));
boost::shared_ptr<AutomationControl> ac (new AutomationControl(_session, al));
add_control(ac);
+ cerr << "WARNING: Default AutomationControl created for " << parameter.to_string() << endl;
return ac;
} else {