projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e56c8f0
)
include lua processors in plugin-selector
author
Robin Gareus
<robin@gareus.org>
Thu, 28 Apr 2016 23:26:46 +0000
(
01:26
+0200)
committer
Robin Gareus
<robin@gareus.org>
Fri, 29 Apr 2016 00:57:48 +0000
(
02:57
+0200)
gtk2_ardour/instrument_selector.cc
patch
|
blob
|
history
gtk2_ardour/mixer_ui.cc
patch
|
blob
|
history
gtk2_ardour/plugin_selector.cc
patch
|
blob
|
history
gtk2_ardour/plugin_selector.h
patch
|
blob
|
history
diff --git
a/gtk2_ardour/instrument_selector.cc
b/gtk2_ardour/instrument_selector.cc
index 3df05f95128563719fbfc2554747e8ff2937f1f5..d4f89e2f63ec7fb125e198f4745d4d55d737969c 100644
(file)
--- a/
gtk2_ardour/instrument_selector.cc
+++ b/
gtk2_ardour/instrument_selector.cc
@@
-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());
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
#ifdef WINDOWS_VST_SUPPORT
all_plugs.insert(all_plugs.end(), manager.windows_vst_plugin_info().begin(), manager.windows_vst_plugin_info().end());
#endif
diff --git
a/gtk2_ardour/mixer_ui.cc
b/gtk2_ardour/mixer_ui.cc
index a7268c99872daaf45aa2973ad998b158827c2e8d..d6617d99d592178cb16772f60dfdb46b4e0f7794 100644
(file)
--- a/
gtk2_ardour/mixer_ui.cc
+++ b/
gtk2_ardour/mixer_ui.cc
@@
-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.au_plugin_info ());
#endif
refiller (plugs, mgr.ladspa_plugin_info ());
+ refiller (plugs, mgr.lua_plugin_info ());
store_current_favorite_order ();
store_current_favorite_order ();
diff --git
a/gtk2_ardour/plugin_selector.cc
b/gtk2_ardour/plugin_selector.cc
index 8161c9da055e1e56b2ae3b4a2ed866695b2dccd2..6d9c6ff7af505a14a8abcefff65f05a0709ead70 100644
(file)
--- 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_("LXVST");
break;
case Lua:
+ compstr = X_("Lua");
break;
}
break;
}
@@
-379,6
+380,7
@@
PluginSelector::refill ()
vst_refiller (filterstr);
lxvst_refiller (filterstr);
au_refiller (filterstr);
vst_refiller (filterstr);
lxvst_refiller (filterstr);
au_refiller (filterstr);
+ lua_refiller (filterstr);
in_row_change = false;
}
in_row_change = false;
}
@@
-445,6
+447,12
@@
PluginSelector::ladspa_refiller (const std::string& filterstr)
refiller (manager.ladspa_plugin_info(), filterstr, "LADSPA");
}
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)
{
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());
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
#ifdef WINDOWS_VST_SUPPORT
all_plugs.insert (all_plugs.end(), manager.windows_vst_plugin_info().begin(), manager.windows_vst_plugin_info().end());
#endif
diff --git
a/gtk2_ardour/plugin_selector.h
b/gtk2_ardour/plugin_selector.h
index a377d5b49df2b18158445f0db85bb768975080b8..1a7e11be8c19014d0dccc38d16386bdee79b3d27 100644
(file)
--- a/
gtk2_ardour/plugin_selector.h
+++ b/
gtk2_ardour/plugin_selector.h
@@
-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 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;
Gtk::Menu* _plugin_menu;
ARDOUR::PluginManager& manager;