summaryrefslogtreecommitdiff
path: root/libs/ardour/automatable.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-03-08 01:34:42 -0500
committerDavid Robillard <d@drobilla.net>2015-03-08 01:36:53 -0500
commitb35504a71eb9fe58201745a5d6331612f9da4766 (patch)
tree02b2f09f72142129658e7264ab0019174c95883c /libs/ardour/automatable.cc
parent80bb72bbe2c868d14a352b58d028a771253c59b5 (diff)
Fix compilation with --no-lv2 (#0006169).
Not that I condone such backwards behaviour. (Different issue in the ticket, but it was still broken at link time).
Diffstat (limited to 'libs/ardour/automatable.cc')
-rw-r--r--libs/ardour/automatable.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc
index 5e4991fe6e..310592ae4b 100644
--- a/libs/ardour/automatable.cc
+++ b/libs/ardour/automatable.cc
@@ -173,8 +173,10 @@ Automatable::describe_parameter (Evoral::Parameter param)
return string_compose("Bender [%1]", int(param.channel()) + 1);
} else if (param.type() == MidiChannelPressureAutomation) {
return string_compose("Pressure [%1]", int(param.channel()) + 1);
+#ifdef LV2_SUPPORT
} else if (param.type() == PluginPropertyAutomation) {
return string_compose("Property %1", URIMap::instance().id_to_uri(param.id()));
+#endif
} else {
return EventTypeMap::instance().to_symbol(param);
}