{
/* Not a dotfile, has a prefix before a period, suffix is "dll" */
- cerr << "VST filter: looking at " << str << endl;
-
return str[0] != '.' && (str.length() > 4 && str.find (".dll") == (str.length() - 4));
}
plugin_objects = scanner (vst_path, vst_filter, 0, true, true);
- if (plugin_objects) {
- cerr << "Discovered " << plugin_objects->size() << " possible plugins\n";
- } else {
- cerr << "No plugins discovered at all\n";
- }
-
if (plugin_objects) {
for (x = plugin_objects->begin(); x != plugin_objects->end (); ++x) {
- cerr << "checking out " << **x << endl;
vst_discover (**x);
}
}
FSTInfo* finfo;
if ((finfo = fst_get_info (const_cast<char *> (path.c_str()))) == 0) {
- cerr << "Cannot get VST info from " << path << endl;
+ warning << "Cannot get VST information from " << path << endmsg;
return -1;
}
fp = fopen( filename, "r" );
if( fp == NULL ) {
- fprintf (stderr, "cannot open FST info file %s\n", filename);
free( info );
return NULL;
}
FSTInfo *info;
char *fstpath = fst_dllpath_to_infopath( dllpath );
- fprintf (stderr, "have FST info file for %s, loading\n", dllpath);
-
info = load_fst_info_file( fstpath );
free( fstpath );
return info;
fprintf (stderr, "no valid FST file, direct load plugin\n");
if( !(h = fst_load( dllpath )) ) {
- fprintf (stderr, "fst_load failed\n");
return NULL;
}
if( !(fst = fst_instantiate( h, simple_master_callback, NULL )) ) {