13
0

include lua processors in plugin-selector

This commit is contained in:
Robin Gareus 2016-04-29 01:26:46 +02:00
parent e56c8f0309
commit 25f65d0b90
4 changed files with 12 additions and 0 deletions

View File

@ -71,6 +71,7 @@ InstrumentSelector::build_instrument_list()
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

View File

@ -2177,6 +2177,7 @@ Mixer_UI::refill_favorite_plugins ()
refiller (plugs, mgr.au_plugin_info ());
#endif
refiller (plugs, mgr.ladspa_plugin_info ());
refiller (plugs, mgr.lua_plugin_info ());
store_current_favorite_order ();

View File

@ -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;
}
@ -445,6 +447,12 @@ PluginSelector::ladspa_refiller (const std::string& filterstr)
refiller (manager.ladspa_plugin_info(), filterstr, "LADSPA");
}
void
PluginSelector::lua_refiller (const std::string& filterstr)
{
refiller (manager.lua_plugin_info(), filterstr, "Lua");
}
void
PluginSelector::lv2_refiller (const std::string& filterstr)
{
@ -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

View File

@ -123,6 +123,7 @@ class PluginSelector : public ArdourDialog
void vst_refiller (const std::string&);
void lxvst_refiller (const std::string&);
void au_refiller (const std::string&);
void lua_refiller (const std::string&);
Gtk::Menu* _plugin_menu;
ARDOUR::PluginManager& manager;