comparison plugin/FeatureExtractionPluginFactory.cpp @ 79:9e027aa5b5c3

* Avoid instantiating a plugin twice when configuring it (the min/max channel count call was instantiating the plugin again) * Add static library credits to the About box for static builds
author Chris Cannam
date Mon, 24 Apr 2006 15:52:20 +0000
parents c983dda79f72
children bf42d8d63885
comparison
equal deleted inserted replaced
78:c983dda79f72 79:9e027aa5b5c3
261 goto done; 261 goto done;
262 } 262 }
263 263
264 rv = new Vamp::PluginHostAdapter(descriptor, inputSampleRate); 264 rv = new Vamp::PluginHostAdapter(descriptor, inputSampleRate);
265 265
266 std::cerr << "FeatureExtractionPluginFactory::instantiatePlugin: Constructed Vamp plugin, rv is " << rv << std::endl;
267
266 //!!! need to dlclose() when plugins from a given library are unloaded 268 //!!! need to dlclose() when plugins from a given library are unloaded
267 269
268 done: 270 done:
269 if (!rv) { 271 if (!rv) {
270 if (DLCLOSE(libraryHandle) != 0) { 272 if (DLCLOSE(libraryHandle) != 0) {