mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Fix crash when displaying LADSPA plugin UI.
git-svn-id: svn://localhost/ardour2/trunk@2804 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b42213bb04
commit
cbb935c8d5
1 changed files with 4 additions and 1 deletions
|
|
@ -360,7 +360,10 @@ LadspaPluginUI::print_parameter (char *buf, uint32_t len, uint32_t param)
|
|||
LadspaPluginUI::ControlUI*
|
||||
LadspaPluginUI::build_control_ui (guint32 port_index, boost::shared_ptr<AutomationControl> mcontrol)
|
||||
{
|
||||
ControlUI* control_ui;
|
||||
ControlUI* control_ui = NULL;
|
||||
if (!mcontrol)
|
||||
return control_ui;
|
||||
|
||||
Plugin::ParameterDescriptor desc;
|
||||
|
||||
plugin->get_parameter_descriptor (port_index, desc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue