Mercurial > hg > vamp-plugin-sdk
comparison 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 |
comparison
equal
deleted
inserted
replaced
91:200a663bace1 | 92:c94c066a4897 |
---|---|
226 return 1; | 226 return 1; |
227 } | 227 } |
228 } | 228 } |
229 | 229 |
230 Vamp::Plugin *plugin = loader->loadPlugin | 230 Vamp::Plugin *plugin = loader->loadPlugin |
231 (key, sfinfo.samplerate, PluginLoader::ADAPT_ALL); | 231 (key, sfinfo.samplerate, PluginLoader::ADAPT_ALL_SAFE); |
232 if (!plugin) { | 232 if (!plugin) { |
233 cerr << myname << ": ERROR: Failed to load plugin \"" << id | 233 cerr << myname << ": ERROR: Failed to load plugin \"" << id |
234 << "\" from library \"" << soname << "\"" << endl; | 234 << "\" from library \"" << soname << "\"" << endl; |
235 sf_close(sndfile); | 235 sf_close(sndfile); |
236 if (out) { | 236 if (out) { |