comparison plugin/LADSPAPluginFactory.cpp @ 237:3a6af0e5e2d1

* Update along with latest Vamp API change. This has not yet been tested.
author Chris Cannam
date Mon, 26 Feb 2007 18:13:07 +0000
parents bf753a9abf0c
children dc46851837d6
comparison
equal deleted inserted replaced
236:3e6fee4e4257 237:3a6af0e5e2d1
352 bool stillInUse = false; 352 bool stillInUse = false;
353 353
354 for (std::set<RealTimePluginInstance *>::iterator ii = m_instances.begin(); 354 for (std::set<RealTimePluginInstance *>::iterator ii = m_instances.begin();
355 ii != m_instances.end(); ++ii) { 355 ii != m_instances.end(); ++ii) {
356 QString itype, isoname, ilabel; 356 QString itype, isoname, ilabel;
357 PluginIdentifier::parseIdentifier((*ii)->getIdentifier(), itype, isoname, ilabel); 357 PluginIdentifier::parseIdentifier((*ii)->getPluginIdentifier(), itype, isoname, ilabel);
358 if (isoname == soname) { 358 if (isoname == soname) {
359 std::cerr << "LADSPAPluginFactory::releasePlugin: dll " << soname.toStdString() << " is still in use for plugin " << ilabel.toStdString() << std::endl; 359 std::cerr << "LADSPAPluginFactory::releasePlugin: dll " << soname.toStdString() << " is still in use for plugin " << ilabel.toStdString() << std::endl;
360 stillInUse = true; 360 stillInUse = true;
361 break; 361 break;
362 } 362 }
488 488
489 for (std::set<RealTimePluginInstance *>::iterator ii = m_instances.begin(); 489 for (std::set<RealTimePluginInstance *>::iterator ii = m_instances.begin();
490 ii != m_instances.end(); ++ii) { 490 ii != m_instances.end(); ++ii) {
491 491
492 QString itype, isoname, ilabel; 492 QString itype, isoname, ilabel;
493 PluginIdentifier::parseIdentifier((*ii)->getIdentifier(), itype, isoname, ilabel); 493 PluginIdentifier::parseIdentifier((*ii)->getPluginIdentifier(), itype, isoname, ilabel);
494 if (isoname == i->first) { 494 if (isoname == i->first) {
495 stillInUse = true; 495 stillInUse = true;
496 break; 496 break;
497 } 497 }
498 } 498 }