summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_selector.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-29 01:26:46 +0200
committerRobin Gareus <robin@gareus.org>2016-04-29 02:57:48 +0200
commit25f65d0b9009adc409972ee4b2591c611e8a48ec (patch)
tree502da5a9e6faa8e397ec4bb11505d6e21a8802a0 /gtk2_ardour/plugin_selector.cc
parente56c8f0309aa35265785f4a31fac1bd38f868fd1 (diff)
include lua processors in plugin-selector
Diffstat (limited to 'gtk2_ardour/plugin_selector.cc')
-rw-r--r--gtk2_ardour/plugin_selector.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/plugin_selector.cc b/gtk2_ardour/plugin_selector.cc
index 8161c9da05..6d9c6ff7af 100644
--- a/gtk2_ardour/plugin_selector.cc
+++ b/gtk2_ardour/plugin_selector.cc
@@ -331,6 +331,7 @@ PluginSelector::show_this_plugin (const PluginInfoPtr& info, const std::string&
compstr = X_("LXVST");
break;
case Lua:
+ compstr = X_("Lua");
break;
}
@@ -379,6 +380,7 @@ PluginSelector::refill ()
vst_refiller (filterstr);
lxvst_refiller (filterstr);
au_refiller (filterstr);
+ lua_refiller (filterstr);
in_row_change = false;
}
@@ -446,6 +448,12 @@ PluginSelector::ladspa_refiller (const std::string& filterstr)
}
void
+PluginSelector::lua_refiller (const std::string& filterstr)
+{
+ refiller (manager.lua_plugin_info(), filterstr, "Lua");
+}
+
+void
PluginSelector::lv2_refiller (const std::string& filterstr)
{
#ifdef LV2_SUPPORT
@@ -705,6 +713,7 @@ PluginSelector::build_plugin_menu ()
PluginInfoList all_plugs;
all_plugs.insert (all_plugs.end(), manager.ladspa_plugin_info().begin(), manager.ladspa_plugin_info().end());
+ all_plugs.insert (all_plugs.end(), manager.lua_plugin_info().begin(), manager.lua_plugin_info().end());
#ifdef WINDOWS_VST_SUPPORT
all_plugs.insert (all_plugs.end(), manager.windows_vst_plugin_info().begin(), manager.windows_vst_plugin_info().end());
#endif