mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 22:25:46 +01:00
Fix previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@11532 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
568f96d1ee
commit
ecae912da9
1 changed files with 5 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue