diff options
author | Carl Hetherington <carl@carlh.net> | 2012-02-27 16:05:15 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-02-27 16:05:15 +0000 |
commit | ecae912da9f6805d4939e657e3a591f79b0ae542 (patch) | |
tree | 875acceaf3392d37837c39ff9f5609e2a37c2fa3 | |
parent | 568f96d1ee8392eb022254c21c0b431e6775fd1a (diff) |
Fix previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@11532 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/linux_vst_info_file.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/ardour/linux_vst_info_file.cc b/libs/ardour/linux_vst_info_file.cc index aaa605eba0..b224220eea 100644 --- a/libs/ardour/linux_vst_info_file.cc +++ b/libs/ardour/linux_vst_info_file.cc @@ -20,6 +20,8 @@ #include <glib.h> #include <glib/gstdio.h> +#include "pbd/error.h" + #include "ardour/linux_vst_support.h" #define MAX_STRING_LEN 256 @@ -378,13 +380,13 @@ vstfx_get_info (char* dllpath) } if(!(h = vstfx_load(dllpath))) { - warning << "Cannot get LinuxVST information from " << dllpath << ": load failed." << endmsg; + PBD::warning << "Cannot get LinuxVST information from " << dllpath << ": load failed." << endmsg; return 0; } if(!(vstfx = vstfx_instantiate(h, simple_master_callback, 0))) { vstfx_unload(h); - warning << "Cannot get LinuxVST information from " << dllpath << ": instantiation failed." << endmsg; + PBD::warning << "Cannot get LinuxVST information from " << dllpath << ": instantiation failed." << endmsg; return 0; } @@ -393,7 +395,7 @@ vstfx_get_info (char* dllpath) if(!infofile) { vstfx_close(vstfx); vstfx_unload(h); - warning << "Cannot get LinuxVST information from " << dllpath << ": cannot create new FST info file." << endmsg; + PBD::warning << "Cannot get LinuxVST information from " << dllpath << ": cannot create new FST info file." << endmsg; return 0; } |