diff host/vamp-simple-host.cpp @ 92:c94c066a4897

* Add Mark L's PluginBufferingAdapter
author cannam
date Fri, 02 Nov 2007 14:54:04 +0000
parents 200a663bace1
children cd4425ab7b98
line wrap: on
line diff
--- a/host/vamp-simple-host.cpp	Thu Nov 01 10:25:35 2007 +0000
+++ b/host/vamp-simple-host.cpp	Fri Nov 02 14:54:04 2007 +0000
@@ -228,7 +228,7 @@
     }
 
     Vamp::Plugin *plugin = loader->loadPlugin
-        (key, sfinfo.samplerate, PluginLoader::ADAPT_ALL);
+        (key, sfinfo.samplerate, PluginLoader::ADAPT_ALL_SAFE);
     if (!plugin) {
         cerr << myname << ": ERROR: Failed to load plugin \"" << id
              << "\" from library \"" << soname << "\"" << endl;