mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Moved the code to ignore latency ports to the appropriate place
(*before* the packer code). git-svn-id: svn://localhost/trunk/ardour2@283 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ad2ee02728
commit
a54169c198
1 changed files with 7 additions and 7 deletions
|
|
@ -236,6 +236,12 @@ PluginUI::build (AudioEngine &engine)
|
|||
|
||||
if (plugin.parameter_is_control (i)) {
|
||||
|
||||
/* Don't show latency control ports */
|
||||
|
||||
if (plugin.describe_parameter (i) == X_("latency")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
ControlUI* cui;
|
||||
|
||||
/* if we are scrollable, just use one long column */
|
||||
|
|
@ -256,12 +262,6 @@ PluginUI::build (AudioEngine &engine)
|
|||
}
|
||||
}
|
||||
|
||||
/* Don't show latency control ports */
|
||||
|
||||
if (plugin.describe_parameter (i) == X_("latency")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ((cui = build_control_ui (engine, i, plugin.get_nth_midi_control (i))) == 0) {
|
||||
error << string_compose(_("Plugin Editor: could not build control element for port %1"), i) << endmsg;
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue