mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
Can't call the wrong function when there's only one of them: remove ARDOUR::Parameter and just use Evoral::Parameter (move Ardour specific functionality to EventTypeMap where it belongs).
Less than pretty in places but easily seddable just in case... git-svn-id: svn://localhost/ardour2/branches/3.0@3838 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
03f188cc8b
commit
b5ec66ae6c
56 changed files with 416 additions and 499 deletions
|
|
@ -185,7 +185,7 @@ GenericPluginUI::build ()
|
|||
|
||||
/* Don't show latency control ports */
|
||||
|
||||
if (plugin->describe_parameter (Parameter(PluginAutomation, i)) == X_("latency")) {
|
||||
if (plugin->describe_parameter (Evoral::Parameter(PluginAutomation, i)) == X_("latency")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
@ -211,7 +211,7 @@ GenericPluginUI::build ()
|
|||
|
||||
boost::shared_ptr<ARDOUR::AutomationControl> c
|
||||
= boost::dynamic_pointer_cast<ARDOUR::AutomationControl>(
|
||||
insert->data().control(Parameter(PluginAutomation, i)));
|
||||
insert->data().control(Evoral::Parameter(PluginAutomation, i)));
|
||||
|
||||
if ((cui = build_control_ui (i, c)) == 0) {
|
||||
error << string_compose(_("Plugin Editor: could not build control element for port %1"), i) << endmsg;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue