summaryrefslogtreecommitdiff
path: root/libs/ardour/plugin_manager.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2005-10-06 19:10:57 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2005-10-06 19:10:57 +0000
commit4c509656223d3ed1f0fab504cb483090d38972f9 (patch)
tree540f207b81f957fa78101d67da3094ff1e1f9456 /libs/ardour/plugin_manager.cc
parent5a52d8fee4c9abac7ffb1f1e6464785d979acd68 (diff)
fix compose mess, and a number of 64 bit printf specs
git-svn-id: svn://localhost/trunk/ardour2@51 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/plugin_manager.cc')
-rw-r--r--libs/ardour/plugin_manager.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc
index e214e56ebc..0adf8203b6 100644
--- a/libs/ardour/plugin_manager.cc
+++ b/libs/ardour/plugin_manager.cc
@@ -183,14 +183,14 @@ PluginManager::add_presets(string domain)
return;
}
- string path = compose("%1/.%2/rdf", envvar, domain);
+ string path = string_compose("%1/.%2/rdf", envvar, domain);
presets = scanner (path, rdf_filter, 0, true, true);
if (presets) {
for (x = presets->begin(); x != presets->end (); ++x) {
string file = "file:" + **x;
if (lrdf_read_file(file.c_str())) {
- warning << compose(_("Could not parse rdf file: %1"), *x) << endmsg;
+ warning << string_compose(_("Could not parse rdf file: %1"), *x) << endmsg;
}
}
}
@@ -232,14 +232,14 @@ PluginManager::ladspa_discover (string path)
const char *errstr;
if ((module = dlopen (path.c_str(), RTLD_NOW)) == 0) {
- error << compose(_("LADSPA: cannot load module \"%1\" (%2)"), path, dlerror()) << endmsg;
+ error << string_compose(_("LADSPA: cannot load module \"%1\" (%2)"), path, dlerror()) << endmsg;
return -1;
}
dfunc = (LADSPA_Descriptor_Function) dlsym (module, "ladspa_descriptor");
if ((errstr = dlerror()) != 0) {
- error << compose(_("LADSPA: module \"%1\" has no descriptor function."), path) << endmsg;
+ error << string_compose(_("LADSPA: module \"%1\" has no descriptor function."), path) << endmsg;
error << errstr << endmsg;
dlclose (module);
return -1;
@@ -293,7 +293,7 @@ PluginManager::load (Session& session, PluginInfo *info)
FSTHandle* handle;
if ((handle = fst_load (info->path.c_str())) == 0) {
- error << compose(_("VST: cannot load module from \"%1\""), info->path) << endmsg;
+ error << string_compose(_("VST: cannot load module from \"%1\""), info->path) << endmsg;
} else {
plugin = new VSTPlugin (_engine, session, handle);
}
@@ -308,7 +308,7 @@ PluginManager::load (Session& session, PluginInfo *info)
} else {
if ((module = dlopen (info->path.c_str(), RTLD_NOW)) == 0) {
- error << compose(_("LADSPA: cannot load module from \"%1\""), info->path) << endmsg;
+ error << string_compose(_("LADSPA: cannot load module from \"%1\""), info->path) << endmsg;
error << dlerror() << endmsg;
} else {
plugin = new LadspaPlugin (module, _engine, session, info->index, session.frame_rate());
@@ -455,7 +455,7 @@ PluginManager::vst_discover (string path)
}
if (!finfo->canProcessReplacing) {
- warning << compose (_("VST plugin %1 does not support processReplacing, and so cannot be used in ardour at this time"),
+ warning << string_compose (_("VST plugin %1 does not support processReplacing, and so cannot be used in ardour at this time"),
finfo->name)
<< endl;
}