diff options
author | Carl Hetherington <carl@carlh.net> | 2012-02-27 16:03:37 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-02-27 16:03:37 +0000 |
commit | 568f96d1ee8392eb022254c21c0b431e6775fd1a (patch) | |
tree | b0da4db0a831654d799a993f90430a22b2b827e3 /libs | |
parent | af7494ceb243d68e900c3c6464ec1038a2921f32 (diff) |
Be slightly more verbose about vstfx_get_info errors.
git-svn-id: svn://localhost/ardour2/branches/3.0@11531 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/linux_vst_info_file.cc | 8 | ||||
-rw-r--r-- | libs/ardour/plugin_manager.cc | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/libs/ardour/linux_vst_info_file.cc b/libs/ardour/linux_vst_info_file.cc index 58954c7261..aaa605eba0 100644 --- a/libs/ardour/linux_vst_info_file.cc +++ b/libs/ardour/linux_vst_info_file.cc @@ -377,12 +377,14 @@ vstfx_get_info (char* dllpath) return info; } - if(!(h = vstfx_load(dllpath))) + if(!(h = vstfx_load(dllpath))) { + warning << "Cannot get LinuxVST information from " << dllpath << ": load failed." << endmsg; return 0; + } if(!(vstfx = vstfx_instantiate(h, simple_master_callback, 0))) { vstfx_unload(h); - vstfx_error( "** ERROR ** VSTFXinfofile : Instantiate failed\n" ); + warning << "Cannot get LinuxVST information from " << dllpath << ": instantiation failed." << endmsg; return 0; } @@ -391,7 +393,7 @@ vstfx_get_info (char* dllpath) if(!infofile) { vstfx_close(vstfx); vstfx_unload(h); - vstfx_error("cannot create new FST info file for plugin"); + warning << "Cannot get LinuxVST information from " << dllpath << ": cannot create new FST info file." << endmsg; return 0; } diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index 71b630c44d..82d5b4748b 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -696,7 +696,6 @@ PluginManager::lxvst_discover (string path) char buf[32]; if ((finfo = vstfx_get_info (const_cast<char *> (path.c_str()))) == 0) { - warning << "Cannot get linuxVST information from " << path << endmsg; return -1; } |