for (x = plugin_objects->begin(); x != plugin_objects->end (); ++x) {
ladspa_discover (**x);
}
+
+ vector_delete (plugin_objects);
}
- vector_delete (plugin_objects);
return ret;
}
warning << string_compose(_("Could not parse rdf file: %1"), *x) << endmsg;
}
}
+
+ vector_delete (presets);
}
-
- vector_delete (presets);
}
void
warning << "Could not parse rdf file: " << uri << endmsg;
}
}
- }
- vector_delete (rdf_files);
+ vector_delete (rdf_files);
+ }
}
int
snprintf(buf, sizeof(buf), "%s%" PRIu32, LADSPA_BASE, plugin_id);
pattern.subject = buf;
- pattern.predicate = (char*)RDF_TYPE;
+ pattern.predicate = const_cast<char*>(RDF_TYPE);
pattern.object = 0;
pattern.object_type = lrdf_uri;
}
pattern.subject = matches1->object;
- pattern.predicate = (char*)(LADSPA_BASE "hasLabel");
+ pattern.predicate = const_cast<char*>(LADSPA_BASE "hasLabel");
pattern.object = 0;
pattern.object_type = lrdf_literal;
void
PluginManager::lv2_refresh ()
{
+ DEBUG_TRACE (DEBUG::PluginManager, "LV2: refresh\n");
delete _lv2_plugin_info;
_lv2_plugin_info = LV2PluginInfo::discover();
}
for (x = plugin_objects->begin(); x != plugin_objects->end (); ++x) {
windows_vst_discover (**x);
}
+
+ vector_delete (plugin_objects);
}
- vector_delete (plugin_objects);
return ret;
}
}
if (!finfo->canProcessReplacing) {
- warning << string_compose (_("VST plugin %1 does not support processReplacing, and so cannot be used in ardour at this time"),
- finfo->name)
+ warning << string_compose (_("VST plugin %1 does not support processReplacing, and so cannot be used in %2 at this time"),
+ finfo->name, PROGRAM_NAME)
<< endl;
}
for (x = plugin_objects->begin(); x != plugin_objects->end (); ++x) {
lxvst_discover (**x);
}
+
+ vector_delete (plugin_objects);
}
- vector_delete (plugin_objects);
return ret;
}
VSTInfo* finfo;
char buf[32];
+ DEBUG_TRACE (DEBUG::PluginManager, string_compose ("checking apparent LXVST plugin at %1\n", path));
+
if ((finfo = vstfx_get_info (const_cast<char *> (path.c_str()))) == 0) {
return -1;
}
if (!finfo->canProcessReplacing) {
- warning << string_compose (_("linuxVST plugin %1 does not support processReplacing, and so cannot be used in ardour at this time"),
- finfo->name)
+ warning << string_compose (_("linuxVST plugin %1 does not support processReplacing, and so cannot be used in %2 at this time"),
+ finfo->name, PROGRAM_NAME)
<< endl;
}