diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-12-14 14:17:17 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-12-14 14:17:17 +0000 |
commit | f21094937a2ae7dae7929de3ed883d93ed12b66b (patch) | |
tree | 39038ffba7ae328bccce6e544c4857064535983a /libs | |
parent | af12adb34f62dc82f694a03ea3b2a6c99ba426ef (diff) |
revert VST debug hacks
git-svn-id: svn://localhost/ardour2/trunk@1210 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/plugin_manager.cc | 11 | ||||
-rw-r--r-- | libs/fst/fstinfofile.c | 4 |
2 files changed, 1 insertions, 14 deletions
diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index 8edc0e8d73..2a18de7d9d 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -341,8 +341,6 @@ static bool vst_filter (const string& str, void *arg) { /* 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)); } @@ -359,14 +357,7 @@ PluginManager::vst_discover_from_path (string path) 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); } } @@ -381,7 +372,7 @@ PluginManager::vst_discover (string path) 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; } diff --git a/libs/fst/fstinfofile.c b/libs/fst/fstinfofile.c index 0a7fc3d6bb..043e4348a7 100644 --- a/libs/fst/fstinfofile.c +++ b/libs/fst/fstinfofile.c @@ -44,7 +44,6 @@ static FSTInfo *load_fst_info_file( char *filename ) { fp = fopen( filename, "r" ); if( fp == NULL ) { - fprintf (stderr, "cannot open FST info file %s\n", filename); free( info ); return NULL; } @@ -217,8 +216,6 @@ FSTInfo *fst_get_info( char *dllpath ) { 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; @@ -233,7 +230,6 @@ FSTInfo *fst_get_info( char *dllpath ) { 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 )) ) { |